summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2012-05-21 15:08:58 +0800
committerPeng Wu <alexepico@gmail.com>2012-05-21 15:08:58 +0800
commit72016df041eaa99e2cd6d307ee60e03cf350dae8 (patch)
treeca0b350638de504aa84b54606f1162a12de52450
parent34de36eabbc3baac56885e01fa2ec79ba7fb5cc6 (diff)
downloadlibpinyin-72016df041eaa99e2cd6d307ee60e03cf350dae8.tar.gz
libpinyin-72016df041eaa99e2cd6d307ee60e03cf350dae8.tar.xz
libpinyin-72016df041eaa99e2cd6d307ee60e03cf350dae8.zip
add pinyin_table_files
-rw-r--r--src/storage/phrase_index.cpp7
-rw-r--r--src/storage/phrase_index.h1
2 files changed, 8 insertions, 0 deletions
diff --git a/src/storage/phrase_index.cpp b/src/storage/phrase_index.cpp
index 2b7fe0d..39abeee 100644
--- a/src/storage/phrase_index.cpp
+++ b/src/storage/phrase_index.cpp
@@ -567,3 +567,10 @@ const char * pinyin_phrase_files[PHRASE_INDEX_LIBRARY_COUNT] =
"gb_char.bin",
"gbk_char.bin"
};
+
+const char * pinyin_table_files[PHRASE_INDEX_LIBRARY_COUNT] =
+ {
+ NULL,
+ "gb_char.table",
+ "gbk_char.table"
+ };
diff --git a/src/storage/phrase_index.h b/src/storage/phrase_index.h
index 1144ce9..bb3f84b 100644
--- a/src/storage/phrase_index.h
+++ b/src/storage/phrase_index.h
@@ -712,5 +712,6 @@ public:
};
extern const char * pinyin_phrase_files[PHRASE_INDEX_LIBRARY_COUNT];
+extern const char * pinyin_table_files[PHRASE_INDEX_LIBRARY_COUNT];
#endif