Massive renaming!
This commit is contained in:
6
20-plugins/plugins-src/frequencies2.py
Normal file
6
20-plugins/plugins-src/frequencies2.py
Normal 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)
|
||||
|
||||
Reference in New Issue
Block a user