ngrams_top
ngrams_top(corpus, ngram_range, n=None, idiom='english')
List the top n words in a vocabulary according to occurrence in a text corpus.
Examples:
ngrams_top(df['text'],(1,1),n=10)
>>> text count
>>> 0 just 2278
>>> 1 day 2115
>>> 2 good 1578
>>> 3 like 1353
>>> 4 http 1247
>>> 5 work 1150
>>> 6 today 1147
>>> 7 love 1145
>>> 8 going 1103
>>> 9 got 1085
ngrams_top(df['text'],(2,2),n=10)
>>> text count
>>> 0 mother day 358
>>> 1 twitpic com 334
>>> 2 http twitpic 332
>>> 3 mothers day 279
>>> 4 happy mother 275
>>> 5 just got 219
>>> 6 happy mother 199
>>> 7 http bit 180
>>> 8 bit ly 180
>>> 9 good morning 176