From 57005ce72cf7609f52e6d24dae172c1422a33455 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Wed, 29 Jun 2016 10:16:14 +0800 Subject: fixes typos --- src/libpinyin.ver | 1 + src/storage/phrase_index.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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; } -- cgit