From cae862b94fc2805e2b44d839bfec5960acf6e8e1 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Wed, 22 Feb 2012 11:05:51 +0800 Subject: update utils/training --- utils/training/gen_ngram.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/training/gen_ngram.cpp') diff --git a/utils/training/gen_ngram.cpp b/utils/training/gen_ngram.cpp index eeeec3b..be3364d 100644 --- a/utils/training/gen_ngram.cpp +++ b/utils/training/gen_ngram.cpp @@ -89,7 +89,7 @@ int main(int argc, char * argv[]){ 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 ) { -- cgit