Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Sennrich <rico.sennrich@gmx.ch>2015-04-30 17:45:36 +0300
committerRico Sennrich <rico.sennrich@gmx.ch>2015-04-30 17:46:33 +0300
commite98a2fc980b995c4422615f22126816a93326d20 (patch)
tree82955ed4beb03c8a70aac782cd3ea80c89b3334c /scripts
parent1278b8f5a78f945cbc913cb7b5bfe7c88b332b09 (diff)
fix interpolation for LM with parser in pre-processing
Diffstat (limited to 'scripts')
-rw-r--r--scripts/ems/experiment.meta8
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/ems/experiment.meta b/scripts/ems/experiment.meta
index 57ef4f9d6..92e88c0f7 100644
--- a/scripts/ems/experiment.meta
+++ b/scripts/ems/experiment.meta
@@ -309,8 +309,14 @@ split-tuning
default-name: lm/interpolate-tuning.split
pass-unless: output-splitter
template: $output-splitter -model IN1.$output-extension < IN > OUT
+strip-tuning
+ in: split-tuning
+ out: stripped-tuning
+ default-name: lm/interpolate-tuning.stripped
+ pass-unless: mock-output-parser-lm
+ template: $moses-script-dir/training/strip-xml.perl < IN > OUT && $moses-script-dir/training/wrappers/mosesxml2brackets.py < IN > OUT.trees
interpolate
- in: script split-tuning LM:lm
+ in: script stripped-tuning LM:lm
rerun-on-change: srilm-dir group weights
out: lm
default-name: lm/interpolated-lm