diff options
author | Peng Wu <alexepico@gmail.com> | 2013-01-15 10:12:51 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2013-01-15 10:12:51 +0800 |
commit | 8e20db6052bc76b3ae53476248fd946581f0273e (patch) | |
tree | 80330eba53a85b935f58c83c14048d1ca93b6b4f /lib | |
parent | 7a51612320739af8c05f9e9f113302d47da66bda (diff) | |
download | trainer-8e20db6052bc76b3ae53476248fd946581f0273e.tar.gz trainer-8e20db6052bc76b3ae53476248fd946581f0273e.tar.xz trainer-8e20db6052bc76b3ae53476248fd946581f0273e.zip |
update myconfig.py
Diffstat (limited to 'lib')
-rw-r--r-- | lib/myconfig.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/myconfig.py b/lib/myconfig.py index 3942e41..4202b94 100644 --- a/lib/myconfig.py +++ b/lib/myconfig.py @@ -126,6 +126,9 @@ class MyConfig: assert N >= 2, 'at least bi-gram' return N + def getMinimumOccurrence(self): + return 3 # minimum word occurrence + def getPartialWordThresHold(self): return 0.10 # the last 10% in position |