summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-05-24 16:10:12 +0800
committerPeng Wu <alexepico@gmail.com>2011-05-24 16:10:12 +0800
commit2688f37ac6cbdb6276ec5bf9f9bc3b1a5ad393c0 (patch)
tree81a3b889c5750f5f8b53f171166c211eb4db0faf /utils
parent66371f639be3179e48081002ee942ac55f47b054 (diff)
downloadlibpinyin-2688f37ac6cbdb6276ec5bf9f9bc3b1a5ad393c0.tar.gz
libpinyin-2688f37ac6cbdb6276ec5bf9f9bc3b1a5ad393c0.tar.xz
libpinyin-2688f37ac6cbdb6276ec5bf9f9bc3b1a5ad393c0.zip
add '\n' to k mixture model to interpolation model
Diffstat (limited to 'utils')
-rw-r--r--utils/training/k_mixture_model_to_interpolation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/training/k_mixture_model_to_interpolation.cpp b/utils/training/k_mixture_model_to_interpolation.cpp
index 0acbc35..3652f27 100644
--- a/utils/training/k_mixture_model_to_interpolation.cpp
+++ b/utils/training/k_mixture_model_to_interpolation.cpp
@@ -135,7 +135,7 @@ bool parse_bigram(FILE * input, FILE * output){
/* tag: count */
assert(g_hash_table_lookup_extended(required, "count", NULL, &value));
const char * count = (const char *)value;
- fprintf(output, "\\item %s %s count %s", string1, string2, count);
+ fprintf(output, "\\item %s %s count %s\n", string1, string2, count);
break;
}
case END_LINE: