diff options
author | Peng Wu <alexepico@gmail.com> | 2017-02-10 15:23:40 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2017-02-10 15:23:40 +0800 |
commit | 6f1fe4739fb5875cec915cd14c920173e143bba3 (patch) | |
tree | 35052666c42352341b8a4cd7fb43ef65a7a6b94c /tests/lookup | |
parent | 997085b873a2b1395a309bdebf52a3ca702087e5 (diff) | |
download | libpinyin-6f1fe4739fb5875cec915cd14c920173e143bba3.tar.gz libpinyin-6f1fe4739fb5875cec915cd14c920173e143bba3.tar.xz libpinyin-6f1fe4739fb5875cec915cd14c920173e143bba3.zip |
fixes class ForwardPhoneticConstraints
Diffstat (limited to 'tests/lookup')
-rw-r--r-- | tests/lookup/test_pinyin_lookup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lookup/test_pinyin_lookup.cpp b/tests/lookup/test_pinyin_lookup.cpp index a8d6310..6178b85 100644 --- a/tests/lookup/test_pinyin_lookup.cpp +++ b/tests/lookup/test_pinyin_lookup.cpp @@ -67,7 +67,7 @@ int main( int argc, char * argv[]){ (FALSE, FALSE, sizeof(phrase_token_t)); g_array_append_val(prefixes, sentence_start); - ForwardPhoneticConstraints constraints; + ForwardPhoneticConstraints constraints(&phrase_index); NBestMatchResults results; char* linebuf = NULL; size_t size = 0; ssize_t read; |