summaryrefslogtreecommitdiffstats
path: root/src/storage
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage')
-rw-r--r--src/storage/chewing_large_table.cpp2
-rw-r--r--src/storage/phrase_index.cpp2
-rw-r--r--src/storage/table_info.cpp6
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}
};