rspeer / wordfreq

Access a database of word frequencies, in various natural languages.
Other
1.4k stars 101 forks source link

Cannot import name top_n_list #93

Open ghost opened 3 years ago

ghost commented 3 years ago

Getting this error when trying to execute as a .py file. Is it even possible to execute this as a standalone script to, for example, get a quick wordlist?

ImportError: cannot import name 'top_n_list' from partially initialized module 'wordfreq' (most likely due to a circular import) (/home/yaoberh/wordfreq.py)