diff options
author | Peng Wu <alexepico@gmail.com> | 2013-01-15 11:33:08 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2013-01-15 11:49:22 +0800 |
commit | 8f5a4dd7aa1e32cd81effe49a85bdf6b9f1fb23f (patch) | |
tree | 3847c503c47d08ebca2b968a8d710e34488f8eb3 /lib | |
parent | 329870de63777c801a4f071fe472a9e9657b7a60 (diff) | |
download | trainer-8f5a4dd7aa1e32cd81effe49a85bdf6b9f1fb23f.tar.gz trainer-8f5a4dd7aa1e32cd81effe49a85bdf6b9f1fb23f.tar.xz trainer-8f5a4dd7aa1e32cd81effe49a85bdf6b9f1fb23f.zip |
re-factor code
Diffstat (limited to 'lib')
-rw-r--r-- | lib/myconfig.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/myconfig.py b/lib/myconfig.py index 35244a7..a649c82 100644 --- a/lib/myconfig.py +++ b/lib/myconfig.py @@ -131,10 +131,10 @@ class MyConfig: return 3 # minimum word occurrence def getPartialWordThreshold(self): - return 0.30 # the last 10% in position + return 0.10 # the first 10% in position def getNewWordThreshold(self): - return 0.30 / 2 # the last 5% in position + return 0.10 / 2 # the first 5% in position def getMaximumIteration(self): return 20 # roughly around N |