diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/segment/ngseg.cpp | 1 | ||||
-rw-r--r-- | utils/segment/spseg.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/utils/segment/ngseg.cpp b/utils/segment/ngseg.cpp index 596920d..7bfc8c1 100644 --- a/utils/segment/ngseg.cpp +++ b/utils/segment/ngseg.cpp @@ -145,6 +145,7 @@ int main(int argc, char * argv[]){ utf16_t * sentence = g_utf8_to_utf16(linebuf, -1, NULL, &len, NULL); if ( len != num_of_chars ) { fprintf(stderr, "non-ucs2 characters encountered:%s.\n", linebuf); + printf("\n"); continue; } diff --git a/utils/segment/spseg.cpp b/utils/segment/spseg.cpp index 65fe471..905991f 100644 --- a/utils/segment/spseg.cpp +++ b/utils/segment/spseg.cpp @@ -184,6 +184,7 @@ int main(int argc, char * argv[]){ utf16_t * sentence = g_utf8_to_utf16(linebuf, -1, NULL, &len, NULL); if ( len != num_of_chars ) { fprintf(stderr, "non-ucs2 characters encountered:%s.\n", linebuf); + printf("\n"); continue; } |