diff options
author | Peng Wu <alexepico@gmail.com> | 2012-05-17 13:54:04 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2012-05-17 13:54:04 +0800 |
commit | 1f7619d24db40736a274b1c258c5206b06f3e538 (patch) | |
tree | 1a2e891c6756258a39cb2296984dd1f2bb4396be /src/storage | |
parent | 1d317350af0202b4d32ae9417de2adf7817ad107 (diff) | |
download | libpinyin-1f7619d24db40736a274b1c258c5206b06f3e538.tar.gz libpinyin-1f7619d24db40736a274b1c258c5206b06f3e538.tar.xz libpinyin-1f7619d24db40736a274b1c258c5206b06f3e538.zip |
add pinyin_phrase_files
Diffstat (limited to 'src/storage')
-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 |