actually fix logic of apostrophe-fixing

This commit is contained in:
Rob Speer 2015-09-08 13:50:34 -04:00
parent c4c1af8213
commit 715361ca0d

View File

@ -78,7 +78,9 @@ def read_freqs(filename, cutoff=0, lang=None):
values[word] /= total
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):