summaryrefslogtreecommitdiffstats
path: root/src/storage/phonetic_key_matrix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage/phonetic_key_matrix.cpp')
-rw-r--r--src/storage/phonetic_key_matrix.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/storage/phonetic_key_matrix.cpp b/src/storage/phonetic_key_matrix.cpp
index 8b7e295..5b6ec5b 100644
--- a/src/storage/phonetic_key_matrix.cpp
+++ b/src/storage/phonetic_key_matrix.cpp
@@ -27,9 +27,9 @@
namespace pinyin{
-bool fill_phonetic_key_matrix_from_chewing_keys(PhoneticKeyMatrix * matrix,
- ChewingKeyVector keys,
- ChewingKeyRestVector key_rests) {
+bool fill_matrix(PhoneticKeyMatrix * matrix,
+ ChewingKeyVector keys,
+ ChewingKeyRestVector key_rests) {
assert(keys->len == key_rests->len);
const ChewingKey * key = NULL;
@@ -299,7 +299,7 @@ bool fuzzy_syllable_step(pinyin_option_t options,
}
-bool dump_phonetic_key_matrix(PhoneticKeyMatrix * matrix) {
+bool dump_matrix(PhoneticKeyMatrix * matrix) {
size_t length = matrix->size();
GArray * keys = g_array_new(TRUE, TRUE, sizeof(ChewingKey));