diff options
author | Peng Wu <alexepico@gmail.com> | 2012-11-12 14:06:06 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2012-11-12 14:06:06 +0800 |
commit | 8eb7cbb6224f7d1d6dcc17e6a3f9f8aec304a3c8 (patch) | |
tree | 00802cabfe665da78a99722268f50c6c5b5c1e2e /src/pinyin.h | |
parent | 0555fdd296f422c202098d42486c83f4a576dd93 (diff) | |
download | libpinyin-8eb7cbb6224f7d1d6dcc17e6a3f9f8aec304a3c8.tar.gz libpinyin-8eb7cbb6224f7d1d6dcc17e6a3f9f8aec304a3c8.tar.xz libpinyin-8eb7cbb6224f7d1d6dcc17e6a3f9f8aec304a3c8.zip |
write pinyin_mask_out
Diffstat (limited to 'src/pinyin.h')
-rw-r--r-- | src/pinyin.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/pinyin.h b/src/pinyin.h index 0634b2b..c8fb0c7 100644 --- a/src/pinyin.h +++ b/src/pinyin.h @@ -192,6 +192,21 @@ void pinyin_fini(pinyin_context_t * context); /** + * pinyin_mask_out: + * @context: the pinyin context. + * @mask: the mask. + * @value: the value. + * @returns: whether the mask out operation is successful. + * + * Mask out the matched phrase tokens. + * + */ +bool pinyin_mask_out(pinyin_context_t * context, + phrase_token_t mask, + phrase_token_t value); + + +/** * pinyin_set_options: * @context: the pinyin context. * @options: the pinyin options of the pinyin context. |