summaryrefslogtreecommitdiffstats
path: root/src/lookup/pinyin_lookup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lookup/pinyin_lookup.cpp')
-rw-r--r--src/lookup/pinyin_lookup.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lookup/pinyin_lookup.cpp b/src/lookup/pinyin_lookup.cpp
index 7b8e623..b543321 100644
--- a/src/lookup/pinyin_lookup.cpp
+++ b/src/lookup/pinyin_lookup.cpp
@@ -34,8 +34,8 @@
using namespace pinyin;
-const gfloat PinyinLookup::bigram_lambda;
-const gfloat PinyinLookup::unigram_lambda;
+const gfloat PinyinLookup::bigram_lambda = LAMBDA_PARAMETER;
+const gfloat PinyinLookup::unigram_lambda = 1 - LAMBDA_PARAMETER;
PinyinLookup::PinyinLookup(PinyinCustomSettings * custom,
PinyinLargeTable * pinyin_table,