remove unnecessary enumeration from top_n.py

This commit is contained in:
Rob Speer 2017-09-08 16:52:06 -04:00
parent 396b0f78df
commit 61b2e4062d

View File

@ -10,5 +10,5 @@ N = 1000
for lang in sorted(wordfreq.available_languages()):
for (i, word) in enumerate(wordfreq.top_n_list(lang, 1000)):
for word in wordfreq.top_n_list(lang, 1000):
print('{}\t{}'.format(lang, word))