diff options
author | Peng Wu <alexepico@gmail.com> | 2016-06-29 10:16:14 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2016-06-29 10:16:14 +0800 |
commit | 57005ce72cf7609f52e6d24dae172c1422a33455 (patch) | |
tree | 69125b2def4c8916868ec5df4c98b15a73112c14 | |
parent | f380d0ef8bcb380260a04898ced4eeebe3b3da1b (diff) | |
download | libpinyin-57005ce72cf7609f52e6d24dae172c1422a33455.tar.gz libpinyin-57005ce72cf7609f52e6d24dae172c1422a33455.tar.xz libpinyin-57005ce72cf7609f52e6d24dae172c1422a33455.zip |
fixes typos
-rw-r--r-- | src/libpinyin.ver | 1 | ||||
-rw-r--r-- | src/storage/phrase_index.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/libpinyin.ver b/src/libpinyin.ver index 9f89c62..b53033c 100644 --- a/src/libpinyin.ver +++ b/src/libpinyin.ver @@ -65,6 +65,7 @@ LIBPINYIN { pinyin_get_pinyin_offset; pinyin_get_left_character_offset; pinyin_get_right_character_offset; + pinyin_get_character_offset; pinyin_get_n_phrase; pinyin_get_phrase_token; pinyin_get_full_pinyin_auxiliary_text; diff --git a/src/storage/phrase_index.h b/src/storage/phrase_index.h index 86fb8e3..6ac1d42 100644 --- a/src/storage/phrase_index.h +++ b/src/storage/phrase_index.h @@ -156,7 +156,7 @@ public: return 0; #endif - /* used preprocessor to avoid zero freq, in gen_chewing_table. */ + /* used preprocessor to avoid zero freq, in gen_pinyin_table. */ gfloat retval = matched / (gfloat) total_freq; return retval; } |