diff options
-rw-r--r-- | src/storage/phrase_index.cpp | 8 | ||||
-rw-r--r-- | src/storage/phrase_index.h | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/storage/phrase_index.cpp b/src/storage/phrase_index.cpp index 3e68e3d..2b7fe0d 100644 --- a/src/storage/phrase_index.cpp +++ b/src/storage/phrase_index.cpp @@ -559,3 +559,11 @@ bool FacadePhraseIndex::compat(){ } return true; } + + +const char * pinyin_phrase_files[PHRASE_INDEX_LIBRARY_COUNT] = + { + NULL, + "gb_char.bin", + "gbk_char.bin" + }; diff --git a/src/storage/phrase_index.h b/src/storage/phrase_index.h index cedcdc1..056e8f3 100644 --- a/src/storage/phrase_index.h +++ b/src/storage/phrase_index.h @@ -710,4 +710,6 @@ public: }; +extern const char * pinyin_phrase_files[PHRASE_INDEX_LIBRARY_COUNT]; + #endif |