Preparations for using probabilities in parse trees.
Correctly use probabilities according to given flag for parser.