diff options
author | Peng Wu <alexepico@gmail.com> | 2013-01-21 17:06:00 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2013-01-21 17:06:00 +0800 |
commit | ce9f818a468ebdbfdfd1b8b2d46f881d8fe4d5b7 (patch) | |
tree | 58a0559064b6fd89d8357aa35de44093993b8df0 /lib | |
parent | de8ba1a1f3eafc368b819c55aea1996507996a55 (diff) | |
download | trainer-ce9f818a468ebdbfdfd1b8b2d46f881d8fe4d5b7.tar.gz trainer-ce9f818a468ebdbfdfd1b8b2d46f881d8fe4d5b7.tar.xz trainer-ce9f818a468ebdbfdfd1b8b2d46f881d8fe4d5b7.zip |
fixes partialword.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 353266c..8874fe0 100644 --- a/lib/myconfig.py +++ b/lib/myconfig.py @@ -135,6 +135,9 @@ class MyConfig: def getMinimumOccurrence(self): return 3 # minimum word occurrence + def getNgramMinimumOccurrence(self): + return 9 # minimum word occurrence in n-gram table + def getPartialWordThreshold(self): return 0.10 # the first 10% in position |