fixes compile
authorPeng Wu <alexepico@gmail.com>
Thu, 17 May 2012 07:06:46 +0000 (15:06 +0800)
committerPeng Wu <alexepico@gmail.com>
Thu, 17 May 2012 07:06:46 +0000 (15:06 +0800)
utils/training/gen_unigram.cpp

index 2656647..3f31a46 100644 (file)
@@ -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];