diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/storage/gen_pinyin_table.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); |