From 5bfc05a8e0223a95c10f688043dbecc444ae7cfa Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Fri, 13 May 2016 15:05:54 +0800 Subject: update test_matrix.cpp --- tests/storage/test_matrix.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/storage') diff --git a/tests/storage/test_matrix.cpp b/tests/storage/test_matrix.cpp index fd965b8..3bf787d 100644 --- a/tests/storage/test_matrix.cpp +++ b/tests/storage/test_matrix.cpp @@ -29,6 +29,7 @@ using namespace pinyin; int main(int argc, char * argv[]) { pinyin_option_t options = PINYIN_CORRECT_ALL; + options |= PINYIN_AMB_ALL; options |= PINYIN_INCOMPLETE; PhoneticParser2 * parser = new FullPinyinParser2(); @@ -57,6 +58,8 @@ int main(int argc, char * argv[]) { fill_phonetic_key_matrix_from_chewing_keys (&matrix, keys, key_rests); + + fuzzy_syllable_step(options, &matrix); } print_time(start_time, bench_times); -- cgit