summaryrefslogtreecommitdiffstats
path: root/src/storage
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage')
-rw-r--r--src/storage/phrase_index.cpp2
-rw-r--r--src/storage/phrase_index.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/storage/phrase_index.cpp b/src/storage/phrase_index.cpp
index 6409272..294cd00 100644
--- a/src/storage/phrase_index.cpp
+++ b/src/storage/phrase_index.cpp
@@ -69,7 +69,7 @@ bool PhraseItem::set_phrase_string(guint8 phrase_length, utf16_t * phrase){
return true;
}
-void PhraseItem::increase_pinyin_possibility(pinyin_option_t options,
+void PhraseItem::increase_pronunciation_possibility(pinyin_option_t options,
ChewingKey * keys,
gint32 delta){
guint8 phrase_length = get_phrase_length();
diff --git a/src/storage/phrase_index.h b/src/storage/phrase_index.h
index 69f39d9..c1ad870 100644
--- a/src/storage/phrase_index.h
+++ b/src/storage/phrase_index.h
@@ -90,7 +90,7 @@ public:
return (*(guint32 *)(buf_begin + sizeof(guint8) + sizeof(guint8)));
}
- gfloat get_pinyin_possibility(pinyin_option_t options,
+ gfloat get_pronunciation_possibility(pinyin_option_t options,
ChewingKey * keys){
guint8 phrase_length = get_phrase_length();
guint8 npron = get_n_pronunciation();
@@ -122,7 +122,7 @@ public:
return retval;
}
- void increase_pinyin_possibility(pinyin_option_t options,
+ void increase_pronunciation_possibility(pinyin_option_t options,
ChewingKey * keys,
gint32 delta);