diff options
author | Peng Wu <alexepico@gmail.com> | 2013-04-18 15:02:13 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2013-04-18 15:02:13 +0800 |
commit | e6a8cf0cc8ad55e11e764e29a6997cce8c7397be (patch) | |
tree | f0adfc3302a2e5a51a0e88ede3757f7e47b8ccd7 | |
parent | cb827e2511b9557e41acec74a3d6ebcfaed862f8 (diff) | |
download | libpinyin-e6a8cf0cc8ad55e11e764e29a6997cce8c7397be.tar.gz |
fixes mergeseq.cpp
-rw-r--r-- | utils/segment/mergeseq.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/segment/mergeseq.cpp b/utils/segment/mergeseq.cpp index 1c724f0..1a26064 100644 --- a/utils/segment/mergeseq.cpp +++ b/utils/segment/mergeseq.cpp @@ -160,6 +160,10 @@ bool feed_line(FacadePhraseTable2 * phrase_table, assert(0 == unichars->len); assert(0 == tokeninfos->len); + + /* restore the null token line. */ + fprintf(output, "%s\n", linebuf); + return false; } |