summaryrefslogtreecommitdiffstats
path: root/utils/segment/spseg.cpp
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2015-05-21 15:59:05 +0800
committerPeng Wu <alexepico@gmail.com>2015-05-21 15:59:05 +0800
commitc68cd44758b6ce03cff661fca83cf2c72aef8991 (patch)
treedf050657bc56c5683d4ce0160228fcabd9b73aaf /utils/segment/spseg.cpp
parent7a5a8b88cef79e3f5db45a860201d5d5d9841d52 (diff)
downloadlibpinyin-c68cd44758b6ce03cff661fca83cf2c72aef8991.tar.gz
libpinyin-c68cd44758b6ce03cff661fca83cf2c72aef8991.tar.xz
libpinyin-c68cd44758b6ce03cff661fca83cf2c72aef8991.zip
update segment tools
Diffstat (limited to 'utils/segment/spseg.cpp')
-rw-r--r--utils/segment/spseg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/segment/spseg.cpp b/utils/segment/spseg.cpp
index b543cc5..9c8ab44 100644
--- a/utils/segment/spseg.cpp
+++ b/utils/segment/spseg.cpp
@@ -228,7 +228,7 @@ int main(int argc, char * argv[]){
}
}
- SystemTableInfo system_table_info;
+ SystemTableInfo2 system_table_info;
bool retval = system_table_info.load(SYSTEM_TABLE_INFO);
if (!retval) {
@@ -246,7 +246,7 @@ int main(int argc, char * argv[]){
FacadePhraseIndex phrase_index;
const pinyin_table_info_t * phrase_files =
- system_table_info.get_table_info();
+ system_table_info.get_default_tables();
if (!load_phrase_index(phrase_files, &phrase_index))
exit(ENOENT);