diff options
author | Peng Wu <alexepico@gmail.com> | 2012-05-17 15:06:46 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2012-05-17 15:06:46 +0800 |
commit | d6b9035b82cd00e1763c715386cfa52621945716 (patch) | |
tree | d48ffe1efc85036622dd56282f27435ad19911b6 | |
parent | 4797c0419273b71e5fa64ba7a1ee233de7c0ac48 (diff) | |
download | libpinyin-d6b9035b82cd00e1763c715386cfa52621945716.tar.gz libpinyin-d6b9035b82cd00e1763c715386cfa52621945716.tar.xz libpinyin-d6b9035b82cd00e1763c715386cfa52621945716.zip |
fixes compile
-rw-r--r-- | utils/training/gen_unigram.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/training/gen_unigram.cpp b/utils/training/gen_unigram.cpp index 2656647..3f31a46 100644 --- a/utils/training/gen_unigram.cpp +++ b/utils/training/gen_unigram.cpp @@ -26,6 +26,8 @@ /* increase all unigram frequency by a constant. */ int main(int argc, char * argv[]){ + MemoryChunk * chunk = NULL; + FacadePhraseIndex phrase_index; for (size_t i = 0; i < PHRASE_INDEX_LIBRARY_COUNT; ++i) { const char * bin_file = pinyin_phrase_files[i]; |