From 0d05a5484f583a75b144d13ab51322c26716176c Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Sun, 6 Jan 2013 15:33:07 +0800 Subject: add config --- lib/myconfig.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'lib') 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 -- cgit