diff options
author | Peng Wu <alexepico@gmail.com> | 2013-02-04 13:57:54 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2013-02-04 13:57:54 +0800 |
commit | 281245981604ba6da181e9be9482b562d65ce65d (patch) | |
tree | 932683c06257e9f978f29e98f2c84a926ab79899 | |
parent | f66c059e67c3ca642a51fbf175a68d4a5da75e1e (diff) | |
download | trainer-281245981604ba6da181e9be9482b562d65ce65d.tar.gz trainer-281245981604ba6da181e9be9482b562d65ce65d.tar.xz trainer-281245981604ba6da181e9be9482b562d65ce65d.zip |
update myconfig.py
-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 c8f9129..761aecd 100644 --- a/lib/myconfig.py +++ b/lib/myconfig.py @@ -128,7 +128,7 @@ class MyConfig: return " " def getMaximumCombineNumber(self): - N = 5 + N = 7 assert N >= 2, 'at least bi-gram' return N @@ -142,10 +142,10 @@ class MyConfig: return 9 # minimum word occurrence in n-gram table def getPartialWordThreshold(self): - return 0.10 # the first 10% in position + return 0.70 # the first 70% in position def getNewWordThreshold(self): - return 0.95 # the first 95% in position, subject verb object. + return 0.70 # the first 70% in position, subject verb object. def getMinimumEntropy(self): return 0.01 |