diff options
| author | Peng Wu <alexepico@gmail.com> | 2013-04-18 14:51:13 +0800 |
|---|---|---|
| committer | Peng Wu <alexepico@gmail.com> | 2013-04-18 15:28:46 +0800 |
| commit | 632e0ed5fc56094bf9482a2b4485e27eee390439 (patch) | |
| tree | 13e9f30d7a6809b4556e41cb7b9e222748d75900 /lib | |
| parent | 3179af0ea400d9c6653fda7d2c1bc8f6cef1f75b (diff) | |
| download | trainer-632e0ed5fc56094bf9482a2b4485e27eee390439.tar.gz trainer-632e0ed5fc56094bf9482a2b4485e27eee390439.tar.xz trainer-632e0ed5fc56094bf9482a2b4485e27eee390439.zip | |
write mergeseq.py
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/myconfig.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/myconfig.py b/lib/myconfig.py index fb77c0c..5bb3f83 100644 --- a/lib/myconfig.py +++ b/lib/myconfig.py @@ -14,6 +14,7 @@ class MyConfig: 'PartialWordEpoch': 1, \ 'NewWordEpoch': 1, \ 'MarkPinyinEpoch': 1, \ + 'MergeSequenceEpoch': 1, \ } def getEpochs(self): @@ -107,6 +108,15 @@ class MyConfig: def getTextPostfix(self): return '.text' + def getBackupPostfix(self): + return '.backup' + + def getMergedPostfix(self): + return '.merged' + + def getMergedReportPostfix(self): + return '.merged.report' + def getFinalModelFileName(self): return 'interpolation2.text' |
