July 2017
Beginner to intermediate
486 pages
13h 49m
English
Calculating the probability of a string is more complex compared to calculating the probability of a tree. Here, we want to calculate the probability of strings of words, and for that we need to consider all the possible tree structures that generate the string for which we want to calculate the probability. We first need to consider all the trees that have the string as part of the tree and then calculate the final probability by adding the different probabilities to generate the final probability value.
Let's revisit Figure 5.12 and Figure 5.13, which we used to calculate the tree probability. Now, in order to calculate the probability of the string, we need to consider both the tree and the tree ...
Read now
Unlock full access