mirror of
https://github.com/rspeer/wordfreq.git
synced 2024-12-23 09:21:37 +00:00
remove unnecessary enumeration from top_n.py
This commit is contained in:
parent
fb4a7db6f7
commit
b042f2be9d
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user