diff options
author | Peng Wu <alexepico@gmail.com> | 2016-06-20 10:29:03 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2016-06-20 10:29:03 +0800 |
commit | 8861bc3da5e49f0c0ae074593a72df3771d57ec6 (patch) | |
tree | f5353d3a87286157a46ed0cf220b8df2d5842e19 /tests/lookup | |
parent | 6f4dadfa460e59e4dd8dec4e24434c118a0cf1f7 (diff) | |
download | libpinyin-8861bc3da5e49f0c0ae074593a72df3771d57ec6.tar.gz libpinyin-8861bc3da5e49f0c0ae074593a72df3771d57ec6.tar.xz libpinyin-8861bc3da5e49f0c0ae074593a72df3771d57ec6.zip |
rename functions
Diffstat (limited to 'tests/lookup')
-rw-r--r-- | tests/lookup/test_pinyin_lookup.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/lookup/test_pinyin_lookup.cpp b/tests/lookup/test_pinyin_lookup.cpp index ab14242..ac43ce5 100644 --- a/tests/lookup/test_pinyin_lookup.cpp +++ b/tests/lookup/test_pinyin_lookup.cpp @@ -90,8 +90,7 @@ int main( int argc, char * argv[]){ continue; /* fill the matrix. */ - fill_phonetic_key_matrix_from_chewing_keys - (&matrix, keys, key_rests); + fill_matrix(&matrix, keys, key_rests); resplit_step(options, &matrix); @@ -99,7 +98,7 @@ int main( int argc, char * argv[]){ fuzzy_syllable_step(options, &matrix); - dump_phonetic_key_matrix(&matrix); + dump_matrix(&matrix); /* initialize constraints. */ g_array_set_size(constraints, matrix.size()); |