summaryrefslogtreecommitdiffstats
path: root/src/pinyin.h
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-08-29 16:40:14 +0800
committerPeng Wu <alexepico@gmail.com>2011-08-29 16:43:23 +0800
commit938be01277acf6f1652794dc141e86e213ce1a5f (patch)
tree88fc60299b44005069c3f4094a62f3c30b0433fe /src/pinyin.h
parentd8ccee5041c8ecbaf4568e42b0f187fe615ae7ad (diff)
downloadlibpinyin-938be01277acf6f1652794dc141e86e213ce1a5f.tar.gz
libpinyin-938be01277acf6f1652794dc141e86e213ce1a5f.tar.xz
libpinyin-938be01277acf6f1652794dc141e86e213ce1a5f.zip
add test phrase
Diffstat (limited to 'src/pinyin.h')
-rw-r--r--src/pinyin.h5
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);