diff options
author | Peng Wu <alexepico@gmail.com> | 2013-01-06 15:33:07 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2013-01-06 15:33:07 +0800 |
commit | 0d05a5484f583a75b144d13ab51322c26716176c (patch) | |
tree | d5bce10a84c321517d0f834fd23469a6025d1373 /lib | |
parent | 3d11ee5e5dc69cfd5fc62bab43461250f037beb5 (diff) | |
download | trainer-0d05a5484f583a75b144d13ab51322c26716176c.tar.gz trainer-0d05a5484f583a75b144d13ab51322c26716176c.tar.xz trainer-0d05a5484f583a75b144d13ab51322c26716176c.zip |
add config
Diffstat (limited to 'lib')
-rw-r--r-- | lib/myconfig.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/myconfig.py b/lib/myconfig.py index f64a5c8..4167b5a 100644 --- a/lib/myconfig.py +++ b/lib/myconfig.py @@ -104,3 +104,17 @@ class MyConfig: def getFinalStatusFileName(self): return 'cwd.status' + + + ''' + Word Recognizer Configuration + ''' + + def getWordRecognizerDir(self): + return m_trainer_dir + os.sep + 'words' + + def getMaximumCombineNumber(self): + return 5 + + def getThresHold(self): + return 0.10 # the last 10% in position |