diff options
Diffstat (limited to 'utils/training/gen_k_mixture_model.cpp')
-rw-r--r-- | utils/training/gen_k_mixture_model.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/training/gen_k_mixture_model.cpp b/utils/training/gen_k_mixture_model.cpp index d6efd70..01b9246 100644 --- a/utils/training/gen_k_mixture_model.cpp +++ b/utils/training/gen_k_mixture_model.cpp @@ -59,7 +59,7 @@ bool read_document(PhraseLargeTable * phrases, FILE * document, linebuf[strlen(linebuf) - 1] = '\0'; glong phrase_len = 0; - utf16_t * phrase = g_utf8_to_utf16(linebuf, -1, NULL, &phrase_len, NULL); + ucs4_t * phrase = g_utf8_to_ucs4(linebuf, -1, NULL, &phrase_len, NULL); phrase_token_t token = 0; if ( 0 != phrase_len ) { |