summaryrefslogtreecommitdiffstats
path: root/src/pinyin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pinyin.h')
-rw-r--r--src/pinyin.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/pinyin.h b/src/pinyin.h
index 136848e..25cf932 100644
--- a/src/pinyin.h
+++ b/src/pinyin.h
@@ -444,21 +444,6 @@ bool pinyin_lookup_tokens(pinyin_instance_t * instance,
const char * phrase, GArray * tokenarray);
/**
- * pinyin_translate_token:
- * @instance: the pinyin instance.
- * @token: the phrase token.
- * @word: the phrase in utf-8.
- * @returns: whether the token is valid.
- *
- * Translate the token to utf-8 phrase.
- *
- * Note: the returned word should be freed by g_free().
- *
- */
-bool pinyin_translate_token(pinyin_instance_t * instance,
- phrase_token_t token, char ** word);
-
-/**
* pinyin_get_pinyins_from_token:
* @instance: the pinyin instance.
* @token: the character token.