summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2013-01-15 11:33:08 +0800
committerPeng Wu <alexepico@gmail.com>2013-01-15 11:49:22 +0800
commit8f5a4dd7aa1e32cd81effe49a85bdf6b9f1fb23f (patch)
tree3847c503c47d08ebca2b968a8d710e34488f8eb3 /lib
parent329870de63777c801a4f071fe472a9e9657b7a60 (diff)
downloadtrainer-8f5a4dd7aa1e32cd81effe49a85bdf6b9f1fb23f.tar.gz
trainer-8f5a4dd7aa1e32cd81effe49a85bdf6b9f1fb23f.tar.xz
trainer-8f5a4dd7aa1e32cd81effe49a85bdf6b9f1fb23f.zip
re-factor code
Diffstat (limited to 'lib')
-rw-r--r--lib/myconfig.py4
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