diff options
| author | Peng Wu <alexepico@gmail.com> | 2013-11-04 13:34:01 +0800 |
|---|---|---|
| committer | Peng Wu <alexepico@gmail.com> | 2013-11-04 13:34:09 +0800 |
| commit | 54eb9848d09b7d68b908258d07bbf36b7a47a20d (patch) | |
| tree | f4254264073195a317a6883862c3e64f1bd1f5b5 /src/storage | |
| parent | 1ba2f10f6af8120ef6ec3ad9887c50af7f151c40 (diff) | |
| download | libzhuyin-54eb9848d09b7d68b908258d07bbf36b7a47a20d.tar.gz libzhuyin-54eb9848d09b7d68b908258d07bbf36b7a47a20d.tar.xz libzhuyin-54eb9848d09b7d68b908258d07bbf36b7a47a20d.zip | |
use chewing tsi.src
Diffstat (limited to 'src/storage')
| -rw-r--r-- | src/storage/chewing_large_table.cpp | 2 | ||||
| -rw-r--r-- | src/storage/phrase_index.cpp | 2 | ||||
| -rw-r--r-- | src/storage/table_info.cpp | 6 |
3 files changed, 3 insertions, 7 deletions
diff --git a/src/storage/chewing_large_table.cpp b/src/storage/chewing_large_table.cpp index aa74e0d..42c5204 100644 --- a/src/storage/chewing_large_table.cpp +++ b/src/storage/chewing_large_table.cpp @@ -679,7 +679,7 @@ bool ChewingLargeTable::load_text(FILE * infile) { glong len = g_utf8_strlen(phrase, -1); - FullPinyinParser2 parser; + ChewingDirectParser2 parser; ChewingKeyVector keys; ChewingKeyRestVector key_rests; diff --git a/src/storage/phrase_index.cpp b/src/storage/phrase_index.cpp index 7229084..cb04175 100644 --- a/src/storage/phrase_index.cpp +++ b/src/storage/phrase_index.cpp @@ -557,7 +557,7 @@ bool FacadePhraseIndex::load_text(guint8 phrase_index, FILE * infile){ } pinyin_option_t options = USE_TONE; - FullPinyinParser2 parser; + ChewingDirectParser2 parser; ChewingKeyVector keys = g_array_new(FALSE, FALSE, sizeof(ChewingKey)); ChewingKeyRestVector key_rests = g_array_new(FALSE, FALSE, sizeof(ChewingKeyRest)); diff --git a/src/storage/table_info.cpp b/src/storage/table_info.cpp index 707dc9c..d79d7be 100644 --- a/src/storage/table_info.cpp +++ b/src/storage/table_info.cpp @@ -30,11 +30,7 @@ using namespace zhuyin; static const pinyin_table_info_t reserved_tables[] = { {RESERVED, NULL, NULL, NULL, NOT_USED}, - {GB_DICTIONARY, "gb_char.table", "gb_char.bin", "gb_char.dbin", SYSTEM_FILE}, - {GBK_DICTIONARY, "gbk_char.table", "gbk_char.bin", "gbk_char.dbin", SYSTEM_FILE}, - - {MERGED_DICTIONARY, "merged.table", "merged.bin", "merged.dbin", SYSTEM_FILE}, - + {TSI_DICTIONARY, "tsi.table", "tsi.bin", "tsi.dbin", SYSTEM_FILE}, {USER_DICTIONARY, NULL, NULL, "user.bin", USER_FILE} }; |
