From 51e7af528a4fe1c5da660eba48268369225c064c Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Thu, 15 Oct 2015 11:07:08 +0800 Subject: use PinyinDirectParser2 --- src/storage/phrase_index.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/storage/phrase_index.cpp') 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)); -- cgit