diff options
Diffstat (limited to 'src/storage/pinyin_large_table.cpp')
-rw-r--r-- | src/storage/pinyin_large_table.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/storage/pinyin_large_table.cpp b/src/storage/pinyin_large_table.cpp index a5ed998..3b1e2e3 100644 --- a/src/storage/pinyin_large_table.cpp +++ b/src/storage/pinyin_large_table.cpp @@ -481,17 +481,17 @@ bool PinyinLargeTable::load_text(FILE * infile){ char pinyin[256]; char phrase[256]; phrase_token_t token; - size_t freq; + size_t freq; while ( !feof(infile) ) { fscanf(infile, "%s", pinyin); fscanf(infile, "%s", phrase); fscanf(infile, "%ld", &token); - fscanf(infile, "%ld", &freq); + fscanf(infile, "%ld", &freq); if ( feof(infile) ) break; - + PinyinDefaultParser parser; NullPinyinValidator validator; PinyinKeyVector keys; |