[ADDED] script that outputs marginal probability and total probability of the parse