mirror of
https://github.com/rspeer/wordfreq.git
synced 2024-12-23 09:21:37 +00:00
Turns out we need to change the metanl constant after normalizing words.
This commit is contained in:
parent
8f00846117
commit
4bda3e6b6f
@ -121,7 +121,7 @@ def wordlist_info(connection=None):
|
||||
yield {'wordlist': wordlist, 'lang': lang, 'count': count}
|
||||
|
||||
|
||||
METANL_CONSTANT = 50291582140.06433
|
||||
METANL_CONSTANT = 48918335043.70308
|
||||
def metanl_word_frequency(wordlang, offset=0.):
|
||||
"""
|
||||
Return a word's frequency in a form that matches the output of
|
||||
|
Loading…
Reference in New Issue
Block a user