diff options
author | Peng Wu <alexepico@gmail.com> | 2015-10-09 14:10:17 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2015-10-09 14:10:17 +0800 |
commit | 77c17bd843c37cb1141e85a45013bdea4d87bdb4 (patch) | |
tree | 5dac1d5027b45ead6ed261bb0951cbcf15ed19af | |
parent | f10e7058309e99efe02807ff92974c8a8f13d84a (diff) | |
download | libpinyin-77c17bd843c37cb1141e85a45013bdea4d87bdb4.tar.gz libpinyin-77c17bd843c37cb1141e85a45013bdea4d87bdb4.tar.xz libpinyin-77c17bd843c37cb1141e85a45013bdea4d87bdb4.zip |
fixes a typo
-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); |