And this one too

This commit is contained in:
Crista Lopes
2014-03-14 10:34:01 -07:00
parent b5b606cbbd
commit ccbd13c268
12 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
import operator, collections
def top25(word_list):
counts = collections.Counter(w for w in word_list)
return counts.most_common(25)