It is known that entropy is a measure of the uncertainty in a random variable (Ihara, 1993).
this uncertainty can be quantitatively determined by entropy(H) calculated by the following formula 2 http://www.maltparser.org/userguide.html#predstrate were p(y i /X) is the posterior probability of y i being predicted as the parsing action in the given context X.