summaryrefslogtreecommitdiffstats
path: root/src/lookup/pinyin_lookup.cpp
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-12-26 15:17:46 +0800
committerPeng Wu <alexepico@gmail.com>2011-12-26 15:20:19 +0800
commit49869f6917edf488f0daca22e32a8166cf6e0325 (patch)
treec8bb595bc05d4e7bc63ec28401656cde7bc79bfa /src/lookup/pinyin_lookup.cpp
parent11dfb3b72c7128e05e8608ff501d06b80a2788c1 (diff)
downloadlibpinyin-49869f6917edf488f0daca22e32a8166cf6e0325.tar.gz
libpinyin-49869f6917edf488f0daca22e32a8166cf6e0325.tar.xz
libpinyin-49869f6917edf488f0daca22e32a8166cf6e0325.zip
increase train factor
Diffstat (limited to 'src/lookup/pinyin_lookup.cpp')
-rw-r--r--src/lookup/pinyin_lookup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lookup/pinyin_lookup.cpp b/src/lookup/pinyin_lookup.cpp
index a01b28a..efad86f 100644
--- a/src/lookup/pinyin_lookup.cpp
+++ b/src/lookup/pinyin_lookup.cpp
@@ -446,7 +446,7 @@ bool PinyinLookup::train_result(ChewingKeyVector keys, CandidateConstraints cons
//TODO: verify the new training method.
phrase_token_t last_token = sentence_start;
// constraints->len + 1 == results->len
- const guint32 train_factor = 23 * 5;
+ const guint32 train_factor = 23 * 25;
for ( size_t i = 0; i < constraints->len; ++i){
phrase_token_t * token = &g_array_index(results, phrase_token_t, i);
if ( *token == null_token )