summaryrefslogtreecommitdiffstats
path: root/tests/lookup/test_pinyin_lookup.cpp
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2018-12-10 15:33:07 +0800
committerPeng Wu <alexepico@gmail.com>2018-12-10 15:33:07 +0800
commitb708ceefcd64a699d1ef8af774c9bd469bf76174 (patch)
tree5f2df29e632a0f0a5668226b47df3a63a139bfc2 /tests/lookup/test_pinyin_lookup.cpp
parent5643eb4c61a7c7425311471057c6346668145612 (diff)
downloadlibpinyin-b708ceefcd64a699d1ef8af774c9bd469bf76174.tar.gz
libpinyin-b708ceefcd64a699d1ef8af774c9bd469bf76174.tar.xz
libpinyin-b708ceefcd64a699d1ef8af774c9bd469bf76174.zip
update PhoneticLookup usage
Diffstat (limited to 'tests/lookup/test_pinyin_lookup.cpp')
-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 5ff418f..c1552b4 100644
--- a/tests/lookup/test_pinyin_lookup.cpp
+++ b/tests/lookup/test_pinyin_lookup.cpp
@@ -59,7 +59,7 @@ int main( int argc, char * argv[]){
gfloat lambda = system_table_info.get_lambda();
- PhoneticLookup<1, 3> pinyin_lookup(lambda, &largetable, &phrase_index,
+ PhoneticLookup<2, 3> pinyin_lookup(lambda, &largetable, &phrase_index,
&system_bigram, &user_bigram);
/* prepare the prefixes for get_nbest_match. */