Turns out we need to change the metanl constant after normalizing words.

This commit is contained in:
Rob Speer 2013-10-30 16:58:10 -04:00
parent 40102a3f63
commit 8ef11fd33c

View File

@ -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