#Implementation of algorithms in PCFG Inside Outside Algorithm Run EM algorithm for PCFGs base on inside outside algorithm to get the probability of rules in chomsky normal form. references: Inside–outside algorithm The Inside-Outside Algorithm Note on the Inside-Outside Algorithm