56
Language

Language. Definition of language Ambiguities of language (what makes it hard)

Embed Size (px)

Citation preview

Page 1: Language. Definition of language Ambiguities of language (what makes it hard)

Language

Page 2: Language. Definition of language Ambiguities of language (what makes it hard)

Language

• Definition of language

• Ambiguities of language (what makes it hard)

Page 3: Language. Definition of language Ambiguities of language (what makes it hard)

Language diversity

• There are thought to be 6,000-7,000 languages worldwide, many with several dialects– Languages: not mutually intelligible– Dialects: are mutually intelligible, differ in

grammar & vocabulary (usually associated with race, region, or social class)

– Accents: differences in pronunciation

Page 4: Language. Definition of language Ambiguities of language (what makes it hard)

Language diversity

• Languages are disappearing

• More than half are spoken by fewer than 10,000 people.

• Perhaps 90% will be gone within 100 years

• People drop language for assimilation, and to use languages of commerce.

Page 5: Language. Definition of language Ambiguities of language (what makes it hard)

Language universals

• Communicative (permits communication)• Semanticity (stand for something other than

themselves)• Arbitrary (relation between sound and reference is

unimportant)• Structured (the pattern of symbols is not arbitrary)• Generative (the basic units can be used to build a

limitless number of utterances)• Dynamic (language is always evolving)

Page 6: Language. Definition of language Ambiguities of language (what makes it hard)

The problems

• How do we perceive speech sounds (phonemes)?

• How do we perceive words?

• How do we perceive sentences?

• How do we perceive texts?

Page 7: Language. Definition of language Ambiguities of language (what makes it hard)

Phonemes (English)

Page 8: Language. Definition of language Ambiguities of language (what makes it hard)

Why is phoneme perception hard?

• Phonemes produced fast (50/sec)

Page 9: Language. Definition of language Ambiguities of language (what makes it hard)

Please call Stella.  Ask her to bring these things with her from the store:  Six spoons of fresh snow peas, five thick slabs of blue cheese, and maybe a snack for her brother Bob.  We also need a small plastic snake and a big toy frog for the kids.  She can scoop these things into three red bags, and we will go meet her Wednesday at the train station.

Different speakers produce differently

http://classweb.gmu.edu/accent/

Page 10: Language. Definition of language Ambiguities of language (what makes it hard)

http://www.rhetorical.com/cgi-bin/demo.cgi

A single speaker produces them differently, depending on the context of the phoneme--this is coarticulation.

Page 11: Language. Definition of language Ambiguities of language (what makes it hard)

Coarticulation“Vowel” vs “Vole”

You start to form the vowel (an o sound in voles and an aa sound in vowels) before you start the buzzing noise with your lips that produces the v sound.

Page 12: Language. Definition of language Ambiguities of language (what makes it hard)

Why is it had to understand words?Speech stream: no space between words:

Page 13: Language. Definition of language Ambiguities of language (what makes it hard)

Speech segmentationDoes sometimes go wrong--famously when trying to understand song lyrics.

Misheard lyric Actual lyric Song and artist Frighten her kazoo Pride can hurt you

too Beatles “She loves you”

Heated, heated Beat it, beat it Michael Jackson, “Beat it”

Should all the Quintons beef, or what?

Should old acquaintance be forgot

Traditional, “Auld Lang Syne”

Page 14: Language. Definition of language Ambiguities of language (what makes it hard)

Why are sentences hard?

Obviously word order is crucial:“Jayne kissed Jon”“Jon kissed Jayne”

Even if the word order doesn’t change more than one meaning is possible.

Page 15: Language. Definition of language Ambiguities of language (what makes it hard)

“Time flies like an arrow”

What does this mean?

Page 16: Language. Definition of language Ambiguities of language (what makes it hard)

There are at least 5 meanings to this sentence.

1. Time moves quickly, as an arrow does.2. Assess the pace of flies as you would assess the pace of an arrow3. Assess the pace of flies in the same way that an arrow would assess the pace of flies.4. A particular variety of flies (time flies) adore arrows.5. Assess the pace of flies, but only those flies that resemble an arrow.

“Time flies like an arrow”

Page 17: Language. Definition of language Ambiguities of language (what makes it hard)

What makes understanding texts hard?

A text is a collection of sentences forming a paragraph or a collection of related paragraphs.

Page 18: Language. Definition of language Ambiguities of language (what makes it hard)

Happy families are all alike; every unhappy family is unhappy in its own way.

Everything was in confusion in the Oblonskys' house. The wife had discovered that the husband was carrying on an intrigue with a French girl, who had been a governess in their family, and she had announced to her husband that she could not go on living in the same house with him. This position of affairs had now lasted three days, and not only the husband and wife themselves, but all the members of their family and household, were painfully conscious of it. Every person in the house felt that there was no sense in their living together, and that the stray people brought together by chance in any inn had more in common with one another than they, the members of the family and household of the Oblonskys. The wife did not leave her own room, the husband had not been at home for three days. The children ran wild all over the house; the English governess quarreled with the housekeeper, and wrote to a friend asking her to look out for a new situation for her; the man-cook had walked off the day before just at dinner-time; the kitchen-maid, and the coachman had given warning.

Anna Karenina, Ch. 1

Page 19: Language. Definition of language Ambiguities of language (what makes it hard)

Is Mrs. Oblonsky sad?Is Mr. Oblonsky upset?What time of year is it?

Page 20: Language. Definition of language Ambiguities of language (what makes it hard)

Is Mrs. Oblonsky sad?Is Mr. Oblonsky upset?What time of year is it?

The fact is that you don’t know the answer to any of these questions; you are ready to make inferences confidently about the first two, and in fact probably make inferences without realizing it. You don’t make an inference about the third.

Page 21: Language. Definition of language Ambiguities of language (what makes it hard)

So these are the problems. . .

• Perception of phonemes

• Perception of words

• Perception of sentences

• Perception of texts

Page 22: Language. Definition of language Ambiguities of language (what makes it hard)

Perception of phonemes

Warren (1970)

The state governors met with their respective leg*slatures convening in the capital city

It was found that the *eel was on the axleIt was found that the *eel was on the shoeIt was found that the *eel was on the orangeIt was found that the *eel was on the table

This is called the phoneme restoration effect

Page 23: Language. Definition of language Ambiguities of language (what makes it hard)

Perception of Phonemes

McGurk effect

Vision indicates “ga”, soundtrack says “ba”Most people hear “da” or “la”

http://www.media.uio.no/personer/arntm/McGurk_english.html

Page 24: Language. Definition of language Ambiguities of language (what makes it hard)

Perception of PhonemesPeople don’t perceive slight differences in phonemes

Voice onset time

P(hearing “b”)

0.0

1.0

0 40 80

Sounds like “ba”

Sounds like “pa”

Page 25: Language. Definition of language Ambiguities of language (what makes it hard)

Words--how perceived?

Most researchers think it’s a matching process between input and the lexicon

Pronunciation: blæk Spelling: blackPart of speech: adjectiveMeaning pointer: {this directs the system to another location where the meaning is stored}

To test lexical access, you can do cross-modal priming.

Page 26: Language. Definition of language Ambiguities of language (what makes it hard)

Cross-modal priming

“At the turn of the century,it was typical for gentlemen to wear hats in the evening. . ..”

“At the turn of the century,it was typical for gentlemen to wear hacks in the evening. . ..”

Page 27: Language. Definition of language Ambiguities of language (what makes it hard)

Initial research indicated that the lexicon was pretty picky about input--”hack” would no get access to the lexicon; the lexicon was pretty picky about access.

Page 28: Language. Definition of language Ambiguities of language (what makes it hard)

Gaskell et al (1998) showed that mispronounced words do get lexical access if they are mispronounced the way people tend to mispronounce them.

Sentencetype

Changed Unchanged

Naturalchange

Pimebench

Pine bench

Unnaturalchange

Pimecupboard

Pinecupboard

Page 29: Language. Definition of language Ambiguities of language (what makes it hard)

The point: you get lexical access with mispronunciations IF the mispronunciations are the type that people make naturally.

FAST RTs indicate lexical access

500

550

600

650

700

750

React

ion

Tim

e

Natural Unnatural

Type of change

Unchanged

Changed

Page 30: Language. Definition of language Ambiguities of language (what makes it hard)

Word perception--reading

Visual inputLexiconSound patternSpellingSyntactic catPointer to meaning

?

Page 31: Language. Definition of language Ambiguities of language (what makes it hard)

Word perception--reading

LexiconSound patternSpellingSyntactic catPointer to meaning

LexiconSound patternSpellingSyntactic catPointer to meaning

Visual input

Visual input

letter-phoneme rules

Page 32: Language. Definition of language Ambiguities of language (what makes it hard)

Dyslexia evidenceLexiconSound patternSpellingSyntactic catPointer to meaning

Visual input

letter-phoneme rules

LexiconSound patternSpellingSyntactic catPointer to meaning

Visual input

letter-phoneme rules

Slint:okayYacht:impairedCake:okaySale: might think it’s sail

Slint:impairedYacht:okayCake:okay

Page 33: Language. Definition of language Ambiguities of language (what makes it hard)

Sentence processing

To understand sentence processing, we need to understand a little bit about grammar.

Page 34: Language. Definition of language Ambiguities of language (what makes it hard)

How are sentences parsed?

Grammar refers to a set of rules that describes the legal sentences that can be constructed in a language.

Grammar is NOT what you find in a grammar book; grammar refers to the set of rules people carry around in their heads to produce sentences.

Page 35: Language. Definition of language Ambiguities of language (what makes it hard)

Word chain grammars--INCORRECT THEORY

Grammatical sentences are constructed word by word, by selecting the next word in a sentence based on the associations of the rest of the words in the sentence.

“The boy took his baseball bat and hit the _________”.

Probably “ball” but could be “window” or “umpire” or “squid”

Chomsky developed the famed sentence “Colorless green ideas sleep furiously” to demonstrate that a sentence composed of words that are very unlikely to follow one another can still be grammatical.

Page 36: Language. Definition of language Ambiguities of language (what makes it hard)

Word chain grammars

Perhaps just specify next part of speech, not specific word.

“The boy took his baseball bat and hit the ” could be completed by a noun (ball) but the next word could also be an adjective (smelly ball) or an adverb (swiftly escaping boy).

Page 37: Language. Definition of language Ambiguities of language (what makes it hard)

Word chain grammars

The reason that word chain grammars don’t work are instructive.

1: language has dependencies, which can span many words2. dependencies can be embedded

Page 38: Language. Definition of language Ambiguities of language (what makes it hard)

Dependencies

Dependencies: e.g., verbs must agree, “either” implies “or”; “at” implies a noun

The little dogs, whose master was the nastiest, most foul-mouthed monster who had ever simultaneously threatened me with litigation and tried to romance me, were quite loving to me.”

Page 39: Language. Definition of language Ambiguities of language (what makes it hard)

Embeddedness

Dependencies can be embedded: “Either Dan or Brian will go” and then embed that clause in another clause, forming “Either Dan or Brian will go, or Karen and Jon will go.”

Because embedding opportunities are infinite, you’d need an infinite word chain generator.

Page 40: Language. Definition of language Ambiguities of language (what makes it hard)

The solution--phrase structure grammars

Phrase structure grammars use a hierarchical organization, not linear (as word chains did).

Phrase structures specifies a limited number of sentence parts and a limited number of ways the parts can be combined.

Sentence = noun phrase + verb phraseVerb phrase = verb + noun phraseNoun phrase = nounNoun phrase = adjective + nounNoun phrase = article + nounVerb = auxiliary + verb

Note that “noun phrase” appears as part of a sentence and as part of the verb phrase. Word chain would have needed to duplicate that definition.

Page 41: Language. Definition of language Ambiguities of language (what makes it hard)

Phrase structure

Page 42: Language. Definition of language Ambiguities of language (what makes it hard)

How do we get embeddedness?

Embedding is accounted for because definitions can be recursive, meaning a definition has that definition embedded in it.

Sentence = noun phrase + verb phraseSentence = “Either” sentence “or” sentenceSentence = sentence “and” sentenceSentence = “if” sentence “then “sentence

Page 43: Language. Definition of language Ambiguities of language (what makes it hard)

Key question:

What cues does the parser use to decide which phrase structures are which?

• key words• word order• principle of minimal attachment

Page 44: Language. Definition of language Ambiguities of language (what makes it hard)

Key words

“a” indicates that a noun phrase follows“who,” “which” and “that” indicate a relative clause

Fodor and Garrett (1967)The car that the man whom the dog bit drove crashedThe car the man the dog bit drove crashed

Page 45: Language. Definition of language Ambiguities of language (what makes it hard)

Word order

Parser assumes that sentences will be active(noun, then verb, then direct object)

Page 46: Language. Definition of language Ambiguities of language (what makes it hard)

Principle of minimal attachment

If new word can be attached to an existingnode in a phrase structure, go with thatinterpretation.

Page 47: Language. Definition of language Ambiguities of language (what makes it hard)

Minimal attachment

The spy saw the cop with binoculars but the cop didn’t see himThe spy saw the cop with a revolver but the cop didn’t see him.

verb phrase

verb

Sentence

article noun

The spy saw the cop

noun phrase

noun phrase

verb phrase

verbarticle noun

noun phrase

The spy saw the cop

noun phrase

noun phrase

prepositional phrase

prepositional phrase

with binocularss

with a revolver

Sentence

Note that in the sentence on the left, “binoculars” is part of the verb phrase started by “saw” whereas in the sentence on the right, “revolver” requires that a new node be generated to represent the noun phrase. Takes longer to read the sentence on the right.

Page 48: Language. Definition of language Ambiguities of language (what makes it hard)

Phrase structures--ambiguityPhrase structures can account for (some) ambiguities of languageSome sentences are ambiguous: “They are frying chickens”

Page 49: Language. Definition of language Ambiguities of language (what makes it hard)

Phrase structure ambiguity• Two cars were reported stolen by Groveton

police yesterday

• The license fee for altered dogs with a certificate will be $3 and for pets owned by senior citizens who have not been altered the fee will be $1.50.

• For sale: Mixing bowl set designed to please a cook with round bottom for efficient beating

Page 50: Language. Definition of language Ambiguities of language (what makes it hard)

When do we assign roles?

• On-line, NOT by waiting until the end of the sentence

• Another heuristic that normally--but not always--works well

Page 51: Language. Definition of language Ambiguities of language (what makes it hard)

Garden path sentences

• The horse raced past the barn fell.

• The man who hunts ducks out on weekends.

• The cotton clothing is usually made of grows in Mississippi

• The raft floated down the river sank.

• The first words lead listener down the garden path to an incorrect analysis

Page 52: Language. Definition of language Ambiguities of language (what makes it hard)

Called garden path sentences because the parser is assigning each word to a phrase structure, but it later becomes clear that one of the assignments must have been wrong.

Page 53: Language. Definition of language Ambiguities of language (what makes it hard)

Pragmatics

• Language as it is really used

• Not the crisp, clean sentences we’ve been discussing!

• Common ground is essential.

Page 54: Language. Definition of language Ambiguities of language (what makes it hard)

Haldeman:   That the way to handle this now is for us to have Walters call Pat Gray and just say, "Stay the hell out of this...this is ah, business here we don't want you to go any further on it." That's not an unusual development,...Nixon:   Um huh.Haldeman:   ...and, uh, that would take care of it.Nixon:   What about Pat Gray, ah, you mean he doesn't want to?Haldeman:   Pat does want to. He doesn't know how to, and he doesn't have, he doesn't have any basis for doing it. Given this, he will then have the basis. He'll call Mark Felt in, and the two of them ...and Mark Felt wants to cooperate because...Nixon:   Yeah.Haldeman:   he's ambitious...Nixon:   Yeah.Haldeman:   Ah, he'll call him in and say, "We've got the signal from across the river to, to put the hold on this." And that will fit rather well because the FBI agents who are working the case, at this point, feel that's what it is. This is CIA.

-”Smoking gun” tape, 6-23-72

Page 55: Language. Definition of language Ambiguities of language (what makes it hard)

Common ground

• Woman: I’m leaving you.

• Man: Who is he?

Page 56: Language. Definition of language Ambiguities of language (what makes it hard)

Pragmatics

• Speakers should be informative, truthful, relevant, clear, unambiguous, brief, and orderly

• But they can violate for a particular purpose:– Is Professor Willingham a good dancer?– Well, he wears nice shoes.