Notes & Lines Blog

Notes & Lines

Notes & Lines discusses the intersection of math, science, and technology with performing and visual arts. Topics include bizarre instruments, technically-minded musicians, and cross-pollination of science and art.

Previous in Blog: Musical Engineers and Scientists: The Russian Five   Next in Blog: Acoustic Guitar Tonewoods
Close
Close
Close
8 comments
Rate Comments: Nested

Wait...What'd I Just Say?

Posted March 27, 2014 12:00 AM by Hannes

Several months ago, an acquaintance decided to try out a speech recognition software program to cure writer's block. He found it to be quite "intelligent" for a $50 piece of software - the calibration process was copious but effective, and the program supposedly "learns" based on corrected mistakes in order to eliminate future mistakes before they occur. By his account, the program was difficult to adjust to and absolutely mangled European names, but on the whole he was happy with it.

Speech recognition programs fall within the realm of natural language processing (NLP), which combines computer science, linguistics, and artificial intelligence principles with an eye toward reliable interaction between computers and natural human language. Like other AI fields, NLP has made great progress but still leaves a lot to be desired. Language is heavily rule-based but is also capable of great ambiguity, which of course leads to difficulties even in human-to-human communication. Throughout history, lexicographers and great thinkers alike have developed ambiguous example sentences to demonstrate the subtlety and craftiness which makes human language unique and baffling.

Ambiguity often depends on punctuation, as witnessed by recent memes demonstrating the importance of commas using the statements "Let's eat, grandma!" and "Let's eat grandma!" One of the earliest examples of this type of lexical ambiguity dates to 1327. Shortly after the murder of Edward II of England in that year, one of the king's prison officers received a note which read "Edwardum occidere nolite timere bonum est." This statement could mean one of two very different things depending on how it's punctuated. Place a semicolon after nolite and it means "Do not kill Edward; it is good to be afraid of doing this", while a semicolon after timere renders it "Do not be afraid to kill Edward; doing so is good." The meaning of this note has been widely discussed for centuries.

Homonyms - words which share identical spelling and (usually) pronunciation but have different meanings - also contribute significantly to ambiguity. This phrase was crafted by William Rapaport, a professor at the University of Buffalo, in 1972:

"Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo."

Through the use of homonyms, Rapaport designed this grammatical sentence to appear nonsensical. The sentence relies on three different forms of the word "buffalo": as a proper noun (the city in New York), a noun (the large ungulates also known as "bison"), and a verb ("to bully"). By interpreting these usages we can translate the sentence as "Buffalo bison [that other] Buffalo bison bully, [themselves] bully Buffalo bison."

The most common thread behind miscommunication is syntactic ambiguity, or the simple fact that identical sentences and words may carry different contextual meanings. A famous example which plays on the words "fly" and "like" is the sentence pair "Time flies like an arrow. Fruit flies like a banana."

Other instances include:

"We saw her duck."

"Flying planes can be dangerous."

"He saw that gas can explode."

Logical statements can be made even more confusing by combining multiple ambiguities. For example, the statement "The old man the boats" appears to be nonsensical because of the common qualified noun "old man." By playing into our immediate assumption that "old" qualifies "man," this sentence leads us to believe that it's gibberish, but by rereading it and considering "old" as a noun and "man" as a verb we find that it's grammatical. This sentence in particular serves as a kind of verbal optical illusion: by blocking out "the boats" we see the noun "old man," but considering the whole sentence we interpret something completely different.

NLP will probably follow the same old AI destiny: it can make inanimate objects appear intelligent, but they still won't understand meaning or context. (Even Siri's legendary snarkiness is just programming, after all.) And, as this post hopefully shows, even human-to-human speech can be impossibly confusing based on misinterpretation of meaning and context. Besides, eschewing ambiguity would also result in the loss of scores of classic jokes; ask Groucho about that one.

Image credits: Information Insights | Speculative Grammarian

Reply

Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

Good Answers:

These comments received enough positive votes to make them "good answers".
Guru
Popular Science - Weaponology - New Member United Kingdom - Member - New Member

Join Date: May 2007
Location: Harlow England
Posts: 16512
Good Answers: 670
#1

Re: Wait...What'd I Just Say?

03/27/2014 5:54 AM

Good old classic from an article in Scientific American many many years ago....

"Recognise speech" vs "wreck a nice beach".

Try getting it to understand 'Bowyer'
Del

__________________
health warning: These posts may contain traces of nut.
Reply
Guru

Join Date: Jun 2009
Location: South of Minot North Dakota
Posts: 8376
Good Answers: 775
#5
In reply to #1

Re: Wait...What'd I Just Say?

03/27/2014 7:54 PM

Does it sound anything like drunken Irish?

Reply
Guru
Popular Science - Weaponology - New Member United Kingdom - Member - New Member

Join Date: May 2007
Location: Harlow England
Posts: 16512
Good Answers: 670
#6
In reply to #5

Re: Wait...What'd I Just Say?

03/28/2014 3:17 AM

Ah, to be sure, we're not needin' any of your racial stereotypin' at all, at all at all.

Del

__________________
health warning: These posts may contain traces of nut.
Reply Off Topic (Score 5)
Guru
Hobbies - CNC - New Member Hobbies - DIY Welding - New Member Engineering Fields - Electromechanical Engineering - New Member

Join Date: Aug 2007
Posts: 23647
Good Answers: 420
#2

Re: Wait...What'd I Just Say?

03/27/2014 7:45 AM

I'm sure it has comee a long ways,...... since I tried it back in the 80's. Covox I believe it was called.

The problem back then, was after establishing your pattern..... the talking made me hoarse quickly...... and soon was a nuisance.

I have to say, when I got my iPhone the Siri on it is pretty good....... unless there is a lot of background noise.......... still do not depend on it too much.

__________________
“ When people get what they want, they are often surprised when they get what they deserve " - James Wood
Reply
Anonymous Poster #1
#3
In reply to #2

Re: Wait...What'd I Just Say?

03/27/2014 8:06 AM

What do you mean 'block groan nose?'

Reply Off Topic (Score 5)
Guru
Hobbies - CNC - New Member Hobbies - DIY Welding - New Member Engineering Fields - Electromechanical Engineering - New Member

Join Date: Aug 2007
Posts: 23647
Good Answers: 420
#4
In reply to #3

Re: Wait...What'd I Just Say?

03/27/2014 8:10 AM

"Back Garden Hose" ............. not found!

__________________
“ When people get what they want, they are often surprised when they get what they deserve " - James Wood
Reply Off Topic (Score 5)
3
Guru
Popular Science - Weaponology - New Member Safety - ESD - New Member Hobbies - Fishing - New Member

Join Date: Sep 2006
Location: Near Frankfurt am Main, Germany. 50.390866N, 8.884827E
Posts: 17996
Good Answers: 200
#7

Re: Wait...What'd I Just Say?

03/28/2014 5:01 AM

I have been using such software for years, works great. Here is a recent wonderful paragraph that my software produced in no time at all and the Spell Checker gave a final polish to. Isn't it great?

(A bit of doggerel for the computer-literate.)

Eye halve a spelling chequer
It came with my pea sea
It plainly marques four my revue
Miss steaks eye kin knot sea.
Eye strike a key and type a word
And weight four it two say
Weather eye am wrong oar write
It shows me strait a weigh.
As soon as a mist ache is maid
It nose bee fore two long
And eye can put the error rite
Its rare lea ever wrong.
Eye have run this poem threw it
I am shore your pleased two no
Its letter perfect awl the weigh
My chequer tolled me sew.

__________________
"What others say about you reveals more about them, than it does you." Anon.
Reply Good Answer (Score 3)
Power-User

Join Date: Feb 2009
Location: CT USA
Posts: 257
Good Answers: 14
#8

Re: Wait...What'd I Just Say?

04/02/2014 8:27 AM

I always liked this one:

"That that that that that refers to is incorrect."

I'm not sure who wrote it though.

Reply
Reply to Blog Entry 8 comments

Good Answers:

These comments received enough positive votes to make them "good answers".
Copy to Clipboard

Users who posted comments:

Andy Germany (1); Anonymous Poster (1); Calnet42 (1); phoenix911 (2); tcmtech (1); user-deleted-1105 (2)

Previous in Blog: Musical Engineers and Scientists: The Russian Five   Next in Blog: Acoustic Guitar Tonewoods

Advertisement