summaryrefslogtreecommitdiffstats
path: root/src/lookup/phrase_lookup.h
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-04-18 16:29:17 +0800
committerPeng Wu <alexepico@gmail.com>2011-04-18 16:29:17 +0800
commit0b113f330653b82be8a87af8b8b4ac826e72b296 (patch)
tree82913c0d378d19c353622e497210034ca3808d42 /src/lookup/phrase_lookup.h
parent647b365bbf25bc1e8db10aa26427fddbbbaf4626 (diff)
downloadlibpinyin-0b113f330653b82be8a87af8b8b4ac826e72b296.tar.gz
libpinyin-0b113f330653b82be8a87af8b8b4ac826e72b296.tar.xz
libpinyin-0b113f330653b82be8a87af8b8b4ac826e72b296.zip
refine bi-gram
Diffstat (limited to 'src/lookup/phrase_lookup.h')
-rw-r--r--src/lookup/phrase_lookup.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lookup/phrase_lookup.h b/src/lookup/phrase_lookup.h
index 254ab44..61c5487 100644
--- a/src/lookup/phrase_lookup.h
+++ b/src/lookup/phrase_lookup.h
@@ -39,7 +39,8 @@ protected:
//saved varibles
PhraseLargeTable * m_phrase_table;
FacadePhraseIndex * m_phrase_index;
- Bigram * m_bigram;
+ Bigram * m_system_bigram;
+ Bigram * m_user_bigram;
//internal step data structure
GPtrArray * m_steps_index;
@@ -67,7 +68,8 @@ protected:
public:
PhraseLookup(PhraseLargeTable * phrase_table,
FacadePhraseIndex * phrase_index,
- Bigram * bigram);
+ Bigram * system_bigram,
+ Bigram * user_bigram);
~PhraseLookup();