summaryrefslogtreecommitdiffstats
path: root/tests/lookup
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2012-09-03 10:40:10 +0800
committerPeng Wu <alexepico@gmail.com>2012-09-03 10:40:10 +0800
commit13b537cd88a92bd6540ecdaa8f993a409d32776a (patch)
treecf815816b6d42a79c89adbfaefc2ad5444878d9b /tests/lookup
parent1b76ad0ade6a2b2b658dddf4be331dc7988ffc50 (diff)
downloadlibpinyin-13b537cd88a92bd6540ecdaa8f993a409d32776a.tar.gz
libpinyin-13b537cd88a92bd6540ecdaa8f993a409d32776a.tar.xz
libpinyin-13b537cd88a92bd6540ecdaa8f993a409d32776a.zip
update tests to use phrase table ver2
Diffstat (limited to 'tests/lookup')
-rw-r--r--tests/lookup/test_phrase_lookup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lookup/test_phrase_lookup.cpp b/tests/lookup/test_phrase_lookup.cpp
index 3a5470f..15cc861 100644
--- a/tests/lookup/test_phrase_lookup.cpp
+++ b/tests/lookup/test_phrase_lookup.cpp
@@ -71,7 +71,7 @@ int main(int argc, char * argv[]){
/* init phrase table */
- FacadePhraseTable phrase_table;
+ FacadePhraseTable2 phrase_table;
MemoryChunk * chunk = new MemoryChunk;
chunk->load("../../data/phrase_index.bin");
phrase_table.load(chunk, NULL);