Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
>>> from wordfreq import tokenize, word_frequency
>>> tokenize('电影放映机', 'zh')
['电影', '放映', '']
>>> word_frequency('电影放映机', 'zh')
5.370851923771552e-08
>>> word_frequency('programme', 'en')
5.754399373371567e-05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.