diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/myconfig.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/myconfig.py b/lib/myconfig.py index 5db51e2..432e89b 100644 --- a/lib/myconfig.py +++ b/lib/myconfig.py @@ -10,6 +10,7 @@ class MyConfig: 'PruneEpoch': 1, \ 'EvaluateEpoch': 1, \ 'PrepareEpoch': 2, \ + 'PopulateEpoch': 3, \ } def getEpochs(self): @@ -114,6 +115,12 @@ class MyConfig: def getWordRecognizerDir(self): return self.m_trainer_dir + os.sep + 'words' + def getNgramFileName(self, length): + return str(length) + '-gram.db' + + def getWordSep(self): + return " " + def getMaximumCombineNumber(self): N = 5 assert N >= 2, 'at least bi-gram' |