summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2012-05-17 15:06:46 +0800
committerPeng Wu <alexepico@gmail.com>2012-05-17 15:06:46 +0800
commitd6b9035b82cd00e1763c715386cfa52621945716 (patch)
treed48ffe1efc85036622dd56282f27435ad19911b6
parent4797c0419273b71e5fa64ba7a1ee233de7c0ac48 (diff)
downloadlibpinyin-d6b9035b82cd00e1763c715386cfa52621945716.tar.gz
libpinyin-d6b9035b82cd00e1763c715386cfa52621945716.tar.xz
libpinyin-d6b9035b82cd00e1763c715386cfa52621945716.zip
fixes compile
-rw-r--r--utils/training/gen_unigram.cpp2
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];