diff options
| author | Peng Wu <alexepico@gmail.com> | 2011-07-18 15:31:48 +0800 |
|---|---|---|
| committer | Peng Wu <alexepico@gmail.com> | 2011-07-18 15:31:48 +0800 |
| commit | fa2643cf811583b489209ca51e5ecade1cc1a080 (patch) | |
| tree | c3e5382155295212f8fa64c107667ed68b575475 /lib | |
| parent | 31975aa62056940ad4c05c5ad8c0cef504151793 (diff) | |
| download | trainer-fa2643cf811583b489209ca51e5ecade1cc1a080.tar.gz trainer-fa2643cf811583b489209ca51e5ecade1cc1a080.tar.xz trainer-fa2643cf811583b489209ca51e5ecade1cc1a080.zip | |
wrote segment.py
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/myconfig.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/myconfig.py b/lib/myconfig.py index ec264fc..4ed631f 100644 --- a/lib/myconfig.py +++ b/lib/myconfig.py @@ -28,12 +28,12 @@ class MyConfig: def getFinalModelDir(self): return self.m_trainer_dir + os.sep + 'finals' - m_tools_dir = '/media/data/Program/trainer/tools' + m_tools_dir = '/media/data/Program/trainer/tools/libpinyin' def getToolsDir(self): return self.m_tools_dir - m_evals_dir = '/media/data/Program/trainer/evals' + m_evals_dir = '/media/data/Program/trainer/evals/libpinyin' def getEvalsDir(self): return self.m_evals_dir @@ -51,6 +51,11 @@ class MyConfig: def getSegmentPostfix(self): return self.m_segment_postfix + m_segment_report_postfix = '.segment.report' + + def getSegmentReportPostfix(self): + return self.m_segment_report_postfix + #For both index page, item page and binary model file m_status_postfix = '.status' |
