More Bits of Wisdom with NLTK

Following on from my last post, we can improve on the algorithm by modelling as Markov Chains. Taking two words together (a bigram), we can probabilistically determine what the next word should be based on our existing corpus. As we build our wisdom, the last two words are evaluated to determine the next word, and … Continue reading More Bits of Wisdom with NLTK