diff options
author | Peng Wu <alexepico@gmail.com> | 2013-05-16 10:47:51 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2013-05-16 10:47:51 +0800 |
commit | dca6e2f8d7800bdc480178db3699013dbfe0931f (patch) | |
tree | e64aad6cf12cb31e446e68ec6466f5c16864570b | |
parent | 4cebaa9013f68c99c45cd5109891737c68b049d7 (diff) | |
download | libpinyin-dca6e2f8d7800bdc480178db3699013dbfe0931f.tar.gz libpinyin-dca6e2f8d7800bdc480178db3699013dbfe0931f.tar.xz libpinyin-dca6e2f8d7800bdc480178db3699013dbfe0931f.zip |
fixes table.conf
-rw-r--r-- | data/table.conf | 2 | ||||
-rw-r--r-- | src/storage/phrase_large_table2.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/data/table.conf b/data/table.conf index 9a11cd8..2817f8c 100644 --- a/data/table.conf +++ b/data/table.conf @@ -14,4 +14,4 @@ lambda parameter:0.276514 12 society.table society.bin society.dbin DICTIONARY 13 sport.table sport.bin sport.dbin DICTIONARY -14 NULL NULL import.bin USER_FILE
\ No newline at end of file +14 NULL NULL network.bin USER_FILE
\ No newline at end of file diff --git a/src/storage/phrase_large_table2.h b/src/storage/phrase_large_table2.h index 45182d9..cf6807c 100644 --- a/src/storage/phrase_large_table2.h +++ b/src/storage/phrase_large_table2.h @@ -133,7 +133,7 @@ static inline int reduce_tokens(const PhraseTokens tokens, } /* the following line will be removed in future after code are verified. */ - assert(0 <= num && num <= 3); + assert(0 <= num && num <= 4); return num; } |