summaryrefslogtreecommitdiffstats
path: root/src/storage
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2016-06-29 10:16:14 +0800
committerPeng Wu <alexepico@gmail.com>2016-06-29 10:16:14 +0800
commit57005ce72cf7609f52e6d24dae172c1422a33455 (patch)
tree69125b2def4c8916868ec5df4c98b15a73112c14 /src/storage
parentf380d0ef8bcb380260a04898ced4eeebe3b3da1b (diff)
downloadlibpinyin-57005ce72cf7609f52e6d24dae172c1422a33455.tar.gz
libpinyin-57005ce72cf7609f52e6d24dae172c1422a33455.tar.xz
libpinyin-57005ce72cf7609f52e6d24dae172c1422a33455.zip
fixes typos
Diffstat (limited to 'src/storage')
-rw-r--r--src/storage/phrase_index.h2
1 files changed, 1 insertions, 1 deletions
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;
}