summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2012-09-11 14:58:55 +0800
committerPeng Wu <alexepico@gmail.com>2012-09-11 14:58:55 +0800
commit9f1c534806b7391c0c9b96277a75708b1b07c04c (patch)
tree94a75e9c6a7bbcbe6aa227b8987d20ce7e23b60b /tests
parent621f971e2574322e21aada3a08af1fb25129af0d (diff)
downloadlibpinyin-9f1c534806b7391c0c9b96277a75708b1b07c04c.tar.gz
libpinyin-9f1c534806b7391c0c9b96277a75708b1b07c04c.tar.xz
libpinyin-9f1c534806b7391c0c9b96277a75708b1b07c04c.zip
use pinyin lookup2
Diffstat (limited to 'tests')
-rw-r--r--tests/lookup/test_pinyin_lookup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lookup/test_pinyin_lookup.cpp b/tests/lookup/test_pinyin_lookup.cpp
index eea0437..e74ed44 100644
--- a/tests/lookup/test_pinyin_lookup.cpp
+++ b/tests/lookup/test_pinyin_lookup.cpp
@@ -46,7 +46,7 @@ int main( int argc, char * argv[]){
Bigram user_bigram;
user_bigram.attach(NULL, ATTACH_CREATE|ATTACH_READWRITE);
- PinyinLookup pinyin_lookup(options, &largetable, &phrase_index,
+ PinyinLookup2 pinyin_lookup(options, &largetable, &phrase_index,
&system_bigram, &user_bigram);
char* linebuf = NULL;