summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-05-17 11:25:41 +0800
committerPeng Wu <alexepico@gmail.com>2011-05-17 15:58:59 +0800
commit00099bfaac3911f13c38c593d01f8c2c3bd35523 (patch)
tree93137f0c0ad919599fb00806fc724ae7c4176660 /utils
parent55831261b3c63c4a6e2e0163e1f5a5c7ff3e2673 (diff)
downloadlibpinyin-00099bfaac3911f13c38c593d01f8c2c3bd35523.tar.gz
libpinyin-00099bfaac3911f13c38c593d01f8c2c3bd35523.tar.xz
libpinyin-00099bfaac3911f13c38c593d01f8c2c3bd35523.zip
add \end line to export k mixture model
Diffstat (limited to 'utils')
-rw-r--r--utils/training/export_k_mixture_model.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/training/export_k_mixture_model.cpp b/utils/training/export_k_mixture_model.cpp
index 358f087..369f5e7 100644
--- a/utils/training/export_k_mixture_model.cpp
+++ b/utils/training/export_k_mixture_model.cpp
@@ -141,5 +141,7 @@ int main(int argc, char * argv[]){
print_k_mixture_model_array_headers(output, &bigram, &phrase_index);
print_k_mixture_model_array_items(output, &bigram, &phrase_index);
+ end_data(output);
+
return 0;
}