Lably
Skip to content

Inside–outside algorithm

Parameter estimation method for probabilistic context-free grammars

  • 1 min read
  • 3 chapters

Related on Lably

Through Parsing and Computer science

Inside and outside probabilities

The inside probability βj(p,q) is the total probability of generating words wp⋯wq, given the root nonterminal Nj and a grammar G:

βj(p,q)=P(wpq|Npqj,G)

The outside probability αj(p,q) is the total probability of beginning with the start symbol N1 and generating the nonterminal Npqj and all the words outside wp⋯wq, given a grammar G:

αj(p,q)=P(w1(p−1),Npqj,w(q+1)m|G)

Sign in to keep reading

2 more chapters are free with a Lably account.

More in Computing and communication