diff options
author | Peng Wu <alexepico@gmail.com> | 2013-02-27 10:45:01 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2013-02-27 10:46:49 +0800 |
commit | 70b71f0ac41e98674e9c35b5ff770b8ed4128d4e (patch) | |
tree | f3f23cfe085f719340413bd0c67bfb6a27670183 /src/pinyin.cpp | |
parent | 4d596ce01a4041d01e090211b850544a379b2abe (diff) | |
download | libpinyin-70b71f0ac41e98674e9c35b5ff770b8ed4128d4e.tar.gz libpinyin-70b71f0ac41e98674e9c35b5ff770b8ed4128d4e.tar.xz libpinyin-70b71f0ac41e98674e9c35b5ff770b8ed4128d4e.zip |
update factor
Diffstat (limited to 'src/pinyin.cpp')
-rw-r--r-- | src/pinyin.cpp | 4 |
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; |