pinyin_get_n_pinyin;
pinyin_get_pinyin_key;
pinyin_get_pinyin_key_rest;
- pinyin_get_key_rest_positions;
- pinyin_get_key_rest_length;
+ pinyin_get_pinyin_key_rest_positions;
+ pinyin_get_pinyin_key_rest_length;
pinyin_get_raw_full_pinyin;
pinyin_get_n_phrase;
pinyin_get_phrase_token;
return true;
}
-bool pinyin_get_key_rest_positions(pinyin_instance_t * instance,
- ChewingKeyRest * key_rest,
- guint16 * begin, guint16 * end) {
+bool pinyin_get_pinyin_key_rest_positions(pinyin_instance_t * instance,
+ ChewingKeyRest * key_rest,
+ guint16 * begin, guint16 * end) {
if (begin)
*begin = key_rest->m_raw_begin;
return true;
}
-bool pinyin_get_key_rest_length(pinyin_instance_t * instance,
- ChewingKeyRest * key_rest,
- guint16 * len) {
- *len = key_rest->length();
+bool pinyin_get_pinyin_key_rest_length(pinyin_instance_t * instance,
+ ChewingKeyRest * key_rest,
+ guint16 * length) {
+ *length = key_rest->length();
return true;
}
guint index,
ChewingKeyRest ** key_rest);
-bool pinyin_get_key_rest_positions(pinyin_instance_t * instance,
- ChewingKeyRest * key_rest,
- guint16 * begin, guint16 * end);
+bool pinyin_get_pinyin_key_rest_positions(pinyin_instance_t * instance,
+ ChewingKeyRest * key_rest,
+ guint16 * begin, guint16 * end);
-bool pinyin_get_key_rest_length(pinyin_instance_t * instance,
- ChewingKeyRest * key_rest,
- guint16 * len);
+bool pinyin_get_pinyin_key_rest_length(pinyin_instance_t * instance,
+ ChewingKeyRest * key_rest,
+ guint16 * length);
bool pinyin_get_raw_full_pinyin(pinyin_instance_t * instance,
const gchar ** utf8_str);