summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2013-05-16 10:47:51 +0800
committerPeng Wu <alexepico@gmail.com>2013-05-16 10:47:51 +0800
commitdca6e2f8d7800bdc480178db3699013dbfe0931f (patch)
treee64aad6cf12cb31e446e68ec6466f5c16864570b
parent4cebaa9013f68c99c45cd5109891737c68b049d7 (diff)
downloadlibpinyin-dca6e2f8d7800bdc480178db3699013dbfe0931f.tar.gz
libpinyin-dca6e2f8d7800bdc480178db3699013dbfe0931f.tar.xz
libpinyin-dca6e2f8d7800bdc480178db3699013dbfe0931f.zip
fixes table.conf
-rw-r--r--data/table.conf2
-rw-r--r--src/storage/phrase_large_table2.h2
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;
}