From 77c17bd843c37cb1141e85a45013bdea4d87bdb4 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Fri, 9 Oct 2015 14:10:17 +0800 Subject: fixes a typo --- utils/storage/gen_pinyin_table.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils') diff --git a/utils/storage/gen_pinyin_table.cpp b/utils/storage/gen_pinyin_table.cpp index d900e74..4b7073e 100644 --- a/utils/storage/gen_pinyin_table.cpp +++ b/utils/storage/gen_pinyin_table.cpp @@ -312,10 +312,10 @@ void gen_phrase_file(const char * outputfile, int phrase_index){ guint32 freq = chewing_and_freq->freq; - /* avoid zero freq */ + /* avoid zero freq. */ if (freq < 3) freq = 3; - fprintf(outfile, "%s\t%s\t%d\t%d\n", + fprintf(outfile, "%s\t%s\t%d\t%d\n", pinyin_str, phrase_str, PHRASE_INDEX_MAKE_TOKEN(phrase_index, token), freq); -- cgit