summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/storage/chewing_large_table.cpp2
-rw-r--r--src/storage/phrase_index.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/storage/chewing_large_table.cpp b/src/storage/chewing_large_table.cpp
index 5e5bdd8..a51592a 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;
+ PinyinDirectParser2 parser;
ChewingKeyVector keys;
ChewingKeyRestVector key_rests;
diff --git a/src/storage/phrase_index.cpp b/src/storage/phrase_index.cpp
index 3f13042..a18ff9d 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;
+ PinyinDirectParser2 parser;
ChewingKeyVector keys = g_array_new(FALSE, FALSE, sizeof(ChewingKey));
ChewingKeyRestVector key_rests =
g_array_new(FALSE, FALSE, sizeof(ChewingKeyRest));