summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/storage/test_matrix.cpp3
1 files changed, 3 insertions, 0 deletions
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);