Presentation is loading. Please wait.

Presentation is loading. Please wait.

[These slides are missing most examples and discussion from class …]

Similar presentations


Presentation on theme: "[These slides are missing most examples and discussion from class …]"— Presentation transcript:

1 [These slides are missing most examples and discussion from class …]
Phonology [These slides are missing most examples and discussion from class …] Intro to NLP - J. Eisner

2 How do you pronounce a sequence of morphemes?
What is Phonology? “kats” “dawgz” “roziz” “kisiz” Pronunciation cats dogs roses kisses Spelling cat + -s dog + -s rose + -s kiss + -s why? phonology doesn’t care about the spelling (that’s just applied morphology) How do you pronounce a sequence of morphemes? Especially, how & why do you fix up the pronunciation at the seams between morphemes? Intro to NLP - J. Eisner

3 Actually, these are pronounced identically:
What is Phonology? “næpt” “næbd” “nadid” “natid” Pronunciation napped nabbed nodded knotted Spelling nap + -t nab + -t nod + -t knot + -t Actually, these are pronounced identically: na∂Id thanks to the English “flapping” rule (similarly: ladder/latter, bedding/betting) Intro to NLP - J. Eisner

4 “Trisyllabic Shortening” in English
What is Phonology? “Trisyllabic Shortening” in English divine  divinity futile  futility senile  senility satire  satirical decide  decision wild  wilderness serene  serenity supreme  supremity obscene  obscenity obese  *obesity (and similarly for other vowels) Intro to NLP - J. Eisner

5 What is Phonology? A function twixt head and lip
What class of functions is allowed? Differs from one language to next Often complicated, but not arbitrary Comp Sci: How to compute, invert, learn? Morphology (head) underlying phonemes Phonological mapping surface phones Articulation (mouth) resign resign + -ation ree-ZIYN reh-zihg-NAY-shun Intro to NLP - J. Eisner

6 Successive Fixups for Phonology
Chomsky & Halle (1968) Stepwise refinement of a single form How to handle “resignation” example? That is, O = f(I) = g3(g2(g1(I))) Function composition (e.g., transducer composition) Rule 1 Rule 2 input (I) output (O) Rule 3 Intro to NLP - J. Eisner

7 How to Give Orders Directions version: Rules version:
example courtesy of K. Crosswhite Directions version: Break two eggs into a medium mixing bowl. Remove this tab first. On the last day of each month, come to this office and pay your rent. Rules version: No running in the house is allowed. All dogs must be on a leash. Rent must be paid by the first day of each month. In rules version, describe what a good solution would look like, plus a search procedure for finding the best solution). Where else have we seen this? successive fixup (derivation) successive winnowing (optimization) Intro to NLP - J. Eisner

8 Optimality Theory for Phonology
Prince & Smolensky (1993) Alternative to successive fixups Successive winnowing of candidate set Gen . . . Constraint 1 input Constraint 2 Constraint 3 output Intro to NLP - J. Eisner

9 Optimality Theory “Tableau”
«« = candidate violates constraint twice (weight 2) constraint would prefer A, but only allowed to break tie among B,D,E Intro to NLP - J. Eisner

10 Optimality Theory for Phonology
adds weights to candidates adds weights to candidates best paths (several may tie) Gen Constraint 1 Constraint 2 Constraint 3 input (I) . . . output (O) best paths (breaks some ties) Intro to NLP - J. Eisner

11 When do we prune back to best paths?
Optimality Theory: At each intermediate stage Noisy channel: After adding up all weights . . . output (O) Intro to NLP - J. Eisner

12 Why does order matter? Optimality Theory: Each machine (FSA) can choose only among outputs that previous machines liked best Noisy channel: Each machine (FST) alters the output produced by previous machines . . . output (O) Intro to NLP - J. Eisner

13 Final Remark on OT Repeated best-paths only works for a single input
Better to build full FST for I  O (invertible) Can do this e.g. if every constraint is binary: Assigns each candidate either 1 star (“bad”) or 0 stars (“good”) Gen Constraint 1 Constraint 2 Constraint 3 input (I) . . . output (O) Intro to NLP - J. Eisner

14 Optimality Theory “Tableau”
all surviving candidates violate constraint 3, so we can’t eliminate any Intro to NLP - J. Eisner


Download ppt "[These slides are missing most examples and discussion from class …]"

Similar presentations


Ads by Google