update test pinyin lookup
authorPeng Wu <alexepico@gmail.com>
Thu, 12 Jan 2012 04:31:10 +0000 (12:31 +0800)
committerPeng Wu <alexepico@gmail.com>
Thu, 12 Jan 2012 04:31:10 +0000 (12:31 +0800)
tests/lookup/test_pinyin_lookup.cpp

index 4607b5b..148b15b 100644 (file)
@@ -6,7 +6,8 @@ size_t bench_times = 100;
 
 int main( int argc, char * argv[]){
 
-    pinyin_option_t options = USE_TONE | PINYIN_CORRECT_ALL | PINYIN_AMB_ALL;
+    pinyin_option_t options =
+        USE_TONE | USE_RESPLIT_TABLE | PINYIN_CORRECT_ALL | PINYIN_AMB_ALL;
     FacadeChewingTable largetable;
 
     MemoryChunk * new_chunk = new MemoryChunk;