The second model is defined as the product of the probabilities of selecting all lexical entries in the sentence and the root node probability of the parse tree.
the second model is also defined without the probabilities on phrase structures: where Z model2 is the sum over the set of all possible parse trees for the sentence.