diff options
Diffstat (limited to 'tests/test_phrase.cpp')
-rw-r--r-- | tests/test_phrase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |