I want to generate word unigram/bigram/trigram probability. Is there an example to show how to do it? like "I am newbie......" in a file. The generated list may be:
1. I am 0.23
2. I want 0.20
3. I like 0.19
I read a very short piece by Manning, but it does not show to compute.
Thank you in advance.