diff options
author | Peng Wu <alexepico@gmail.com> | 2012-12-05 11:35:17 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2012-12-05 11:43:17 +0800 |
commit | 20fde3f877ec9448671c2a97ab035b3d844433c0 (patch) | |
tree | e61463f7b8c4c4704cc2f72f6bb7de81c7db799f /tests/test_phrase.cpp | |
parent | a981d9a0704b84b04b90dcedfcf96c20c9ed4bb8 (diff) | |
download | libpinyin-20fde3f877ec9448671c2a97ab035b3d844433c0.tar.gz libpinyin-20fde3f877ec9448671c2a97ab035b3d844433c0.tar.xz libpinyin-20fde3f877ec9448671c2a97ab035b3d844433c0.zip |
fixes pinyin_translate_token
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); } |