diff options
| author | Peng Wu <alexepico@gmail.com> | 2013-01-23 14:18:00 +0800 |
|---|---|---|
| committer | Peng Wu <alexepico@gmail.com> | 2013-01-23 14:18:00 +0800 |
| commit | 78c8376ec429ba31f3e70b3ae0524751d15b8deb (patch) | |
| tree | 416b9bd3485cc547c5f0c063e91f428625506290 /lib | |
| parent | d64d827209ec59a8886b5fb8bde949813d602cae (diff) | |
| download | trainer-78c8376ec429ba31f3e70b3ae0524751d15b8deb.tar.gz trainer-78c8376ec429ba31f3e70b3ae0524751d15b8deb.tar.xz trainer-78c8376ec429ba31f3e70b3ae0524751d15b8deb.zip | |
write filterPartialWord
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/myconfig.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/myconfig.py b/lib/myconfig.py index 161088e..2e54d14 100644 --- a/lib/myconfig.py +++ b/lib/myconfig.py @@ -142,13 +142,13 @@ class MyConfig: return 9 # minimum word occurrence in n-gram table def getPartialWordThreshold(self): - return 0.10 # the first 10% in position + return 0.50 # the first 50% in position def getNewWordThreshold(self): - return 0.10 / 2 # the first 5% in position + return 0.50 # the first 50% in position, subject verb object. def getMinimumEntropy(self): - return 1. + return 0.3 def getMaximumIteration(self): return 20 # roughly around N |
