summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2016-06-20 10:29:03 +0800
committerPeng Wu <alexepico@gmail.com>2016-06-20 10:29:03 +0800
commit8861bc3da5e49f0c0ae074593a72df3771d57ec6 (patch)
treef5353d3a87286157a46ed0cf220b8df2d5842e19 /utils
parent6f4dadfa460e59e4dd8dec4e24434c118a0cf1f7 (diff)
downloadlibpinyin-8861bc3da5e49f0c0ae074593a72df3771d57ec6.zip
libpinyin-8861bc3da5e49f0c0ae074593a72df3771d57ec6.tar.gz
libpinyin-8861bc3da5e49f0c0ae074593a72df3771d57ec6.tar.xz
rename functions
Diffstat (limited to 'utils')
-rw-r--r--utils/training/eval_correction_rate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/training/eval_correction_rate.cpp b/utils/training/eval_correction_rate.cpp
index fa061be..90d1883 100644
--- a/utils/training/eval_correction_rate.cpp
+++ b/utils/training/eval_correction_rate.cpp
@@ -104,7 +104,7 @@ bool do_one_test(PinyinLookup2 * pinyin_lookup,
}
PhoneticKeyMatrix matrix;
- fill_phonetic_key_matrix_from_chewing_keys(&matrix, keys, key_rests);
+ fill_matrix(&matrix, keys, key_rests);
get_best_match(pinyin_lookup, &matrix, guessed_tokens);
/* compare the results */