summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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];