From 1f7619d24db40736a274b1c258c5206b06f3e538 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Thu, 17 May 2012 13:54:04 +0800 Subject: [PATCH] add pinyin_phrase_files --- src/storage/phrase_index.cpp | 8 ++++++++ src/storage/phrase_index.h | 2 ++ 2 files changed, 10 insertions(+) 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 -- 2.7.4