From 20fde3f877ec9448671c2a97ab035b3d844433c0 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Wed, 5 Dec 2012 11:35:17 +0800 Subject: fixes pinyin_translate_token --- tests/test_phrase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/test_phrase.cpp b/tests/test_phrase.cpp index 36603e7..fdee52e 100644 --- a/tests/test_phrase.cpp +++ b/tests/test_phrase.cpp @@ -52,7 +52,7 @@ int main(int argc, char * argv[]){ continue; char * word = NULL; - pinyin_translate_token(instance, token, &word); + pinyin_token_get_phrase(instance, token, NULL, &word); printf("%s\t", word); g_free(word); } -- cgit