Learn Before
Concept

Probability of an Ambiguous Sentence in a PCFG

In a Probabilistic Context-Free Grammar (PCFG), the probability of an ambiguous sentence is the sum of the probabilities of all valid parse trees for that sentence:

P(S)=T s.t. S=yield(T)P(T)P(S) = \sum_{T \text{ s.t. } S=\text{yield}(T)} P(T)

0

1

Updated 2026-06-12

Tags

Data Science