diff options
author | Peng Wu <alexepico@gmail.com> | 2012-01-10 12:46:11 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2012-01-10 12:46:11 +0800 |
commit | 742de0a367e511388ff197f6c21d586877698dda (patch) | |
tree | 5df5ee074654c61ae45f2cf4a66b40b25089f9a4 /src/lookup/pinyin_lookup.cpp | |
parent | 18e2714d4c67d55d9c054f8087b297e7862b433f (diff) | |
download | libpinyin-742de0a367e511388ff197f6c21d586877698dda.tar.gz libpinyin-742de0a367e511388ff197f6c21d586877698dda.tar.xz libpinyin-742de0a367e511388ff197f6c21d586877698dda.zip |
begin to use facade * table
Diffstat (limited to 'src/lookup/pinyin_lookup.cpp')
-rw-r--r-- | src/lookup/pinyin_lookup.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lookup/pinyin_lookup.cpp b/src/lookup/pinyin_lookup.cpp index efad86f..97507d3 100644 --- a/src/lookup/pinyin_lookup.cpp +++ b/src/lookup/pinyin_lookup.cpp @@ -26,6 +26,7 @@ #include "stl_lite.h" #include "novel_types.h" #include "pinyin_phrase2.h" +#include "facade_chewing_table.h" #include "ngram.h" #include "winner_tree.h" @@ -35,7 +36,7 @@ const gfloat PinyinLookup::bigram_lambda = LAMBDA_PARAMETER; const gfloat PinyinLookup::unigram_lambda = 1 - LAMBDA_PARAMETER; PinyinLookup::PinyinLookup(pinyin_option_t options, - ChewingLargeTable * pinyin_table, + FacadeChewingTable * pinyin_table, FacadePhraseIndex * phrase_index, Bigram * system_bigram, Bigram * user_bigram){ |