mirror of
https://github.com/rspeer/wordfreq.git
synced 2024-12-23 09:21:37 +00:00
Fix some outdated numbers in English examples
This commit is contained in:
parent
abd0820a32
commit
19b72132e7
@ -312,7 +312,7 @@ also try to deal gracefully when you query it with texts that actually break
|
|||||||
into multiple tokens:
|
into multiple tokens:
|
||||||
|
|
||||||
>>> zipf_frequency('New York', 'en')
|
>>> zipf_frequency('New York', 'en')
|
||||||
5.31
|
5.35
|
||||||
>>> zipf_frequency('北京地铁', 'zh') # "Beijing Subway"
|
>>> zipf_frequency('北京地铁', 'zh') # "Beijing Subway"
|
||||||
3.56
|
3.56
|
||||||
|
|
||||||
@ -329,7 +329,7 @@ you give it an uncommon combination of tokens, it will hugely over-estimate
|
|||||||
their frequency:
|
their frequency:
|
||||||
|
|
||||||
>>> zipf_frequency('owl-flavored', 'en')
|
>>> zipf_frequency('owl-flavored', 'en')
|
||||||
3.26
|
3.18
|
||||||
|
|
||||||
|
|
||||||
## Multi-script languages
|
## Multi-script languages
|
||||||
|
Loading…
Reference in New Issue
Block a user