This is a pencil-and-paper only homework. Please see the submission instructions below.
| Prior word probabilities: |
|---|
| P(dog)=0.4 |
| P(cat)=0.2 |
| P(dot)=0.4 |
| Word | Pronunciation {state self loop prob, state exit prob} |
|---|---|
| dog | d {0.4,0.6} ah {0.9,0.1} g {0.4,0.6} |
| cat | k {0.3,0.7} ae {0.8,0.2} t {0.3,0.7} |
| dot | d {0.4,0.6} ah {0.9,0.1} t {0.3,0.7} |
| Phone | P(VQ vector | phone) |
|---|---|
| ae | C4: 0.5 C5: 0.2 C6: 0.3 |
| ah | C4: 0.3 C5: 0.3 C6: 0.4 |
| d | C1: 0.5 C2: 0.2 C3: 0.1 C8: 0.2 |
| g | C6: 0.2 C7: 0.3 C8: 0.5 |
| k | C1: 0.1 C2: 0.7 C3: 0.2 |
| t | C1: 0.2 C7: 0.4 C8: 0.4 |
Pronoun -> I Pronoun -> you Pronoun -> she V -> ran V -> run Cardinal -> two Cardinal -> one N -> races Adv -> quickly(a) For each of the following grammars, if the grammar parses the sentence, give the parse, or if it doesn't parse, suggest a rule that can help make it parsable.
Grammar A: S -> NP VP NP -> Pronoun NP -> Det N NP -> Cardinal N VP -> V Vmod Vmod -> Adv Vmod Vmod -> Adv Grammar B: S -> NP VP NP -> Pronoun NP -> Det N NP -> Cardinal N VP -> VP Adv VP -> V VP -> V NP(b) Given the lexicon above, choose one of the grammars and show two sentences that are syntactically correct given the grammar, but not correct English. The two sentences should point out different problems in the grammar. For each sentence, how could you change the grammar (in general terms, not specifics) to rule out these ill-formed sentences?
> submit c730aa lab4 hw4
You can learn about using the submit command by typing man submit at a unix command prompt. If you cannot get the submit command to work, you can email your files to the grader, but please don't use this option unless you're having trouble with submit.
Eric Fosler-Lussier Last modified: Mon Nov 26 22:11:31 EST 2007