diff options
author | Peng Wu <alexepico@gmail.com> | 2011-08-29 16:40:14 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2011-08-29 16:43:23 +0800 |
commit | 938be01277acf6f1652794dc141e86e213ce1a5f (patch) | |
tree | 88fc60299b44005069c3f4094a62f3c30b0433fe /src/pinyin.h | |
parent | d8ccee5041c8ecbaf4568e42b0f187fe615ae7ad (diff) | |
download | libpinyin-938be01277acf6f1652794dc141e86e213ce1a5f.tar.gz libpinyin-938be01277acf6f1652794dc141e86e213ce1a5f.tar.xz libpinyin-938be01277acf6f1652794dc141e86e213ce1a5f.zip |
add test phrase
Diffstat (limited to 'src/pinyin.h')
-rw-r--r-- | src/pinyin.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pinyin.h b/src/pinyin.h index c1cd88e..0d89a43 100644 --- a/src/pinyin.h +++ b/src/pinyin.h @@ -52,8 +52,9 @@ bool pinyin_clear_constraint(pinyin_context_t * context, size_t offset); bool pinyin_clear_constraints(pinyin_context_t * context); -bool phrase_segment(pinyin_context_t * context, const char * sentence, - TokenVector tokens); +bool pinyin_phrase_segment(pinyin_context_t * context, + const char * sentence, + TokenVector tokens); bool pinyin_translate_token(pinyin_context_t * context, phrase_token_t token, char ** word); |