summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2013-02-19 13:07:08 +0800
committerPeng Wu <alexepico@gmail.com>2013-02-19 13:07:08 +0800
commit779342214609c7d1935d109cadb412371037dc73 (patch)
tree426d648b2f28286f93da4349d85c575985f51e1d
parentb33991511be60368eb0ab38de70165606f4e5b14 (diff)
downloadlibpinyin-779342214609c7d1935d109cadb412371037dc73.zip
libpinyin-779342214609c7d1935d109cadb412371037dc73.tar.gz
libpinyin-779342214609c7d1935d109cadb412371037dc73.tar.xz
add new tables
-rw-r--r--src/storage/phrase_index.cpp24
1 files changed, 13 insertions, 11 deletions
diff --git a/src/storage/phrase_index.cpp b/src/storage/phrase_index.cpp
index 5904549..32b59a2 100644
--- a/src/storage/phrase_index.cpp
+++ b/src/storage/phrase_index.cpp
@@ -662,19 +662,21 @@ const pinyin_table_info_t pinyin_phrase_files[PHRASE_INDEX_LIBRARY_COUNT] =
{NULL, NULL, NULL, NOT_USED},
{"gb_char.table", "gb_char.bin", "gb_char.dbin", SYSTEM_FILE},
{"gbk_char.table", "gbk_char.bin", "gbk_char.dbin", SYSTEM_FILE},
- {NULL, NULL, NULL, NOT_USED},
- {NULL, NULL, NULL, NOT_USED},
- {NULL, NULL, NULL, NOT_USED},
- {NULL, NULL, NULL, NOT_USED},
- {NULL, NULL, NULL, NOT_USED},
- {NULL, NULL, NULL, NOT_USED},
- {NULL, NULL, NULL, NOT_USED},
+ {"merged.table", "merged.bin", "merged.dbin", SYSTEM_FILE},
+
+ {"art.table", "art.bin", "art.dbin", DICTIONARY},
+ {"culture.table", "culture.bin", "culture.dbin", DICTIONARY},
+ {"economy.table", "economy.bin", "economy.dbin", DICTIONARY},
+ {"geology.table", "geology.bin", "geology.dbin", DICTIONARY},
+ {"history.table", "history.bin", "history.dbin", DICTIONARY},
+
+ {"life.table", "life.bin", "life.dbin", DICTIONARY},
+ {"nature.table", "nature.bin", "nature.dbin", DICTIONARY},
+ {"scitech.table", "scitech.bin", "scitech.dbin", DICTIONARY},
+ {"society.table", "society.bin", "society.dbin", DICTIONARY},
+ {"sport.table", "sport.bin", "sport.dbin", DICTIONARY},
- {NULL, NULL, NULL, NOT_USED},
- {NULL, NULL, NULL, NOT_USED},
- {NULL, NULL, NULL, NOT_USED},
- {NULL, NULL, NULL, NOT_USED},
{NULL, NULL, NULL, NOT_USED},
{NULL, NULL, "user.bin", USER_FILE}