diff options
author | Peng Wu <alexepico@gmail.com> | 2017-05-25 15:23:33 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2017-05-25 15:23:33 +0800 |
commit | 0bd9779cfd4be55ec600355c31806279885ba754 (patch) | |
tree | ca89d07048c9bd07d1692b8c25a7a87c8a1143af /src/storage/phrase_index.h | |
parent | 132a15bb1da8bc426cb4abf796814f4ec307bccd (diff) | |
download | libpinyin-0bd9779cfd4be55ec600355c31806279885ba754.tar.gz libpinyin-0bd9779cfd4be55ec600355c31806279885ba754.tar.xz libpinyin-0bd9779cfd4be55ec600355c31806279885ba754.zip |
handle zhuyin table file in src/storage
Diffstat (limited to 'src/storage/phrase_index.h')
-rw-r--r-- | src/storage/phrase_index.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/storage/phrase_index.h b/src/storage/phrase_index.h index 3c398a2..83dfb51 100644 --- a/src/storage/phrase_index.h +++ b/src/storage/phrase_index.h @@ -26,9 +26,11 @@ #include "novel_types.h" #include "chewing_key.h" #include "pinyin_parser2.h" +#include "zhuyin_parser2.h" #include "pinyin_phrase3.h" #include "memory_chunk.h" #include "phrase_index_logger.h" +#include "table_info.h" /** * Phrase Index File Format @@ -467,13 +469,15 @@ public: * FacadePhraseIndex::load_text: * @phrase_index: the index of sub phrase index to be loaded. * @infile: the textual format file of the phrase table. + * @type: the type of phonetic table. * @returns: whether the load operation is successful. * * Load one sub phrase index from the textual format file. * Note: load sub phrase index according to the config in future. * */ - bool load_text(guint8 phrase_index, FILE * infile); + bool load_text(guint8 phrase_index, FILE * infile, + TABLE_PHONETIC_TYPE type); /** * FacadePhraseIndex::load: |