summaryrefslogtreecommitdiffstats
path: root/src/lookup/pinyin_lookup.h
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2012-01-10 12:46:11 +0800
committerPeng Wu <alexepico@gmail.com>2012-01-10 12:46:11 +0800
commit742de0a367e511388ff197f6c21d586877698dda (patch)
tree5df5ee074654c61ae45f2cf4a66b40b25089f9a4 /src/lookup/pinyin_lookup.h
parent18e2714d4c67d55d9c054f8087b297e7862b433f (diff)
downloadlibpinyin-742de0a367e511388ff197f6c21d586877698dda.tar.gz
libpinyin-742de0a367e511388ff197f6c21d586877698dda.tar.xz
libpinyin-742de0a367e511388ff197f6c21d586877698dda.zip
begin to use facade * table
Diffstat (limited to 'src/lookup/pinyin_lookup.h')
-rw-r--r--src/lookup/pinyin_lookup.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lookup/pinyin_lookup.h b/src/lookup/pinyin_lookup.h
index ec30957..32995e4 100644
--- a/src/lookup/pinyin_lookup.h
+++ b/src/lookup/pinyin_lookup.h
@@ -28,7 +28,6 @@
#include "novel_types.h"
#include "chewing_key.h"
#include "phrase_index.h"
-#include "chewing_large_table.h"
#include "lookup.h"
@@ -90,7 +89,7 @@ protected:
CandidateConstraints m_constraints;
ChewingKeyVector m_keys;
- ChewingLargeTable * m_pinyin_table;
+ FacadeChewingTable * m_pinyin_table;
FacadePhraseIndex * m_phrase_index;
pinyin_option_t m_options;
Bigram * m_system_bigram;
@@ -122,7 +121,7 @@ protected:
bool final_step(MatchResults & results);
public:
- PinyinLookup(pinyin_option_t options, ChewingLargeTable * pinyin_table,
+ PinyinLookup(pinyin_option_t options, FacadeChewingTable * pinyin_table,
FacadePhraseIndex * phrase_index, Bigram * system_bigram,
Bigram * user_bigram);