I\'m having trouble with the NLTK under Python, specifically the .generate() method.
generate(self, length=100)
Print random text, generat
Your sample corpus is most likely to be too small. I don't know how exactly nltk builds its trigram model but it is common practice that beginning and end of sentences are handled somehow. Since there is only one beginning of sentence in your corpus this might be the reason why every sentence has the same beginning.