Example
• Terminals with, saw, astronomers, ears, stars,
telescopes
• Nonterminals S, PP, P, NP, VP, V
• Start symbol S
Slide based on “Foundations of Statistical Natural Language Processing” by Christopher Manning and Hinrich Schütze
astronomers saw stars with ears
Slide based on “Foundations of Statistical Natural Language Processing” by Christopher Manning and Hinrich Schütze
astronomers saw stars with ears
Slide based on “Foundations of Statistical Natural Language Processing” by Christopher Manning and Hinrich Schütze
Probabilities
P (t1 ) = 1.0 × 0.1 × 0.7 × 1.0 × 0.4
×0.18 × 1.0 × 1.0 × 0.18
= 0.0009072
P (t2 ) = 1.0 × 0.1 × 0.3 × 0.7 × 1.0
×0.18 × 1.0 × 1.0 × 0.18
= 0.0006804
P (w15) = P (t1 ) + P (t2 ) = 0.0015876
Slide based on “Foundations of Statistical Natural Language Processing” by Christopher Manning and Hinrich Schütze