diff options
author | Peng Wu <alexepico@gmail.com> | 2016-05-26 13:59:13 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2016-05-26 13:59:13 +0800 |
commit | 5ac8a59499f7e9715b3f82747cc8962c49bc881c (patch) | |
tree | 953549704183ab0c8732a5f2206981377911a666 /src/storage/phonetic_key_matrix.h | |
parent | c57ac3f8e10e8c39053ca614277ee0fa671afef4 (diff) | |
download | libpinyin-5ac8a59499f7e9715b3f82747cc8962c49bc881c.tar.gz libpinyin-5ac8a59499f7e9715b3f82747cc8962c49bc881c.tar.xz libpinyin-5ac8a59499f7e9715b3f82747cc8962c49bc881c.zip |
write increase_pronunciation_possibility function
Diffstat (limited to 'src/storage/phonetic_key_matrix.h')
-rw-r--r-- | src/storage/phonetic_key_matrix.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/storage/phonetic_key_matrix.h b/src/storage/phonetic_key_matrix.h index c88b378..5e1f510 100644 --- a/src/storage/phonetic_key_matrix.h +++ b/src/storage/phonetic_key_matrix.h @@ -217,6 +217,12 @@ gfloat compute_pronunciation_possibility(pinyin_option_t options, size_t start, size_t end, GArray * cached_keys, PhraseItem & item); + +bool increase_pronunciation_possibility(pinyin_option_t options, + PhoneticKeyMatrix * matrix, + size_t start, size_t end, + GArray * cached_keys, + PhraseItem & item, gint32 delta); }; #endif |