actually fix logic of apostrophe-fixing

Former-commit-id: 715361ca0d
This commit is contained in:
Robyn Speer 2015-09-08 13:50:34 -04:00
parent d6d2eac920
commit 64b0b76ee1

View File

@ -78,7 +78,9 @@ def read_freqs(filename, cutoff=0, lang=None):
values[word] /= total values[word] /= total
if lang == 'en': if lang == 'en':
return correct_apostrophe_trimming(values) values = correct_apostrophe_trimming(values)
return values
def freqs_to_cBpack(in_filename, out_filename, cutoff=-600, lang=None): def freqs_to_cBpack(in_filename, out_filename, cutoff=-600, lang=None):