Entries from 2013-07-05 to 1 day
FreqDist.inc() is new for me. According to help, "Increment this FreqDist's count for the given sample." Okay, then start from empty and extract last 1, 2, 3 chars from the words. >>> from nltk.corpus import brown >>> suffix_fdist = nltk.F…