Discussion

Running time: tex2html_wrap_inline142 .

p[i] is the probability of the most likely sequence of words in the string s[i..n].

q[i] is the first word in that sequence.

HW: Modify MAXPROB to print the most likely sequence of words. Give the running time for this operation.

EC: Modify MAXPROB to return the probability of all word sequences consistent with s.


next up previous
Next: Correctness Up: SEGMENTATION Previous: Algorithm