summaryrefslogtreecommitdiffstats
path: root/src/pinyin.cpp
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2013-02-27 10:45:01 +0800
committerPeng Wu <alexepico@gmail.com>2013-02-27 10:46:49 +0800
commit70b71f0ac41e98674e9c35b5ff770b8ed4128d4e (patch)
treef3f23cfe085f719340413bd0c67bfb6a27670183 /src/pinyin.cpp
parent4d596ce01a4041d01e090211b850544a379b2abe (diff)
downloadlibpinyin-70b71f0ac41e98674e9c35b5ff770b8ed4128d4e.tar.gz
libpinyin-70b71f0ac41e98674e9c35b5ff770b8ed4128d4e.tar.xz
libpinyin-70b71f0ac41e98674e9c35b5ff770b8ed4128d4e.zip
update factor
Diffstat (limited to 'src/pinyin.cpp')
-rw-r--r--src/pinyin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pinyin.cpp b/src/pinyin.cpp
index ab0f466..fa18db7 100644
--- a/src/pinyin.cpp
+++ b/src/pinyin.cpp
@@ -292,8 +292,8 @@ bool pinyin_iterator_add_phrase(import_iterator_t * iter,
const char * pinyin,
gint count){
/* if -1 == count, use the default value. */
- const gint default_count = 100;
- const guint32 unigram_factor = 7;
+ const gint default_count = 5;
+ const guint32 unigram_factor = 3;
if (-1 == count)
count = default_count;