diff options
author | Peng Wu <alexepico@gmail.com> | 2015-05-21 16:21:16 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2015-05-21 16:21:16 +0800 |
commit | c8362b0c42886e87a9cfb5893bc9c462bf3a1b83 (patch) | |
tree | 9982261ca3448716f2ccd86dd26fa8e6b4c3dda8 /utils/training/gen_deleted_ngram.cpp | |
parent | f855b47d291124256fa4c9b1ea2cef056db4020b (diff) | |
download | libpinyin-c8362b0c42886e87a9cfb5893bc9c462bf3a1b83.tar.gz libpinyin-c8362b0c42886e87a9cfb5893bc9c462bf3a1b83.tar.xz libpinyin-c8362b0c42886e87a9cfb5893bc9c462bf3a1b83.zip |
update training tools
Diffstat (limited to 'utils/training/gen_deleted_ngram.cpp')
-rw-r--r-- | utils/training/gen_deleted_ngram.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/training/gen_deleted_ngram.cpp b/utils/training/gen_deleted_ngram.cpp index b6f96fa..bdbf00e 100644 --- a/utils/training/gen_deleted_ngram.cpp +++ b/utils/training/gen_deleted_ngram.cpp @@ -51,7 +51,7 @@ int main(int argc, char * argv[]){ exit(EINVAL); } - SystemTableInfo system_table_info; + SystemTableInfo2 system_table_info; bool retval = system_table_info.load(SYSTEM_TABLE_INFO); if (!retval) { @@ -68,7 +68,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(ENODATA); |