diff options
author | Peng Wu <alexepico@gmail.com> | 2013-04-08 13:16:23 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2013-04-08 14:14:04 +0800 |
commit | 8ea45f079b7817f0421d4b8400cd957f68d42716 (patch) | |
tree | d1b0f0e5d0645a61ec12bcda98994666d7b4b7ff /src/pinyin_internal.h | |
parent | 367d15b8ef051caadad6ea2aa3827c34c28c2d56 (diff) | |
download | libpinyin-8ea45f079b7817f0421d4b8400cd957f68d42716.tar.gz libpinyin-8ea45f079b7817f0421d4b8400cd957f68d42716.tar.xz libpinyin-8ea45f079b7817f0421d4b8400cd957f68d42716.zip |
define filenames
Diffstat (limited to 'src/pinyin_internal.h')
-rw-r--r-- | src/pinyin_internal.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/pinyin_internal.h b/src/pinyin_internal.h index f14e2e3..9bb7b42 100644 --- a/src/pinyin_internal.h +++ b/src/pinyin_internal.h @@ -47,6 +47,18 @@ /* training module */ #include "flexible_ngram.h" + +/* define filenames */ +#define SYSTEM_TABLE_INFO "table.conf" +#define USER_TABLE_INFO "user.conf" +#define SYSTEM_BIGRAM "bigram.db" +#define USER_BIGRAM "user_bigram.db" +#define SYSTEM_PINYIN_INDEX "pinyin_index.bin" +#define USER_PINYIN_INDEX "user_pinyin_index.bin" +#define SYSTEM_PHRASE_INDEX "phrase_index.bin" +#define USER_PHRASE_INDEX "user_phrase_index.bin" + + using namespace pinyin; |