Created
October 28, 2015 23:32
-
-
Save rspeer/0a5dc7e6983d2ce752b5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> 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