The posterior distribution over elementary trees given a parse tree t can be computed by using the Bayes' rule: where p (t |e ) is either equal to 1 (when t and e are consistent) or 0 (otherwise).
the task of TSG induction from parse trees turns out to consist of modeling the prior distribution p (e).