From 4bda3e6b6f7df1d80ec83d2c526b24fd3bf7488f Mon Sep 17 00:00:00 2001 From: Robyn Speer <rspeer@luminoso.com> Date: Wed, 30 Oct 2013 16:58:10 -0400 Subject: [PATCH] Turns out we need to change the metanl constant after normalizing words. --- wordfreq/query.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wordfreq/query.py b/wordfreq/query.py index 14c18c5..2d8e170 100644 --- a/wordfreq/query.py +++ b/wordfreq/query.py @@ -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