From 66c80265f40d48519caba75e6e37a5e4ac9b83cd Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Mon, 19 Dec 2011 11:16:44 +0800 Subject: fixes pinyin_init --- tests/lookup/test_pinyin_lookup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/lookup/test_pinyin_lookup.cpp b/tests/lookup/test_pinyin_lookup.cpp index b22e689..e8722af 100644 --- a/tests/lookup/test_pinyin_lookup.cpp +++ b/tests/lookup/test_pinyin_lookup.cpp @@ -6,7 +6,7 @@ size_t bench_times = 100; int main( int argc, char * argv[]){ - pinyin_option_t options = PINYIN_CORRECT_ALL | USE_TONE; + pinyin_option_t options = USE_TONE | PINYIN_CORRECT_ALL | PINYIN_AMB_ALL; ChewingLargeTable largetable(options); MemoryChunk * new_chunk = new MemoryChunk; -- cgit