summaryrefslogtreecommitdiffstats
path: root/src/pinyin.h
diff options
context:
space:
mode:
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);