diff options
author | Patrick Simianer <p@simianer.de> | 2014-06-14 19:03:21 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2014-06-14 19:03:21 +0200 |
commit | 5ddc763ab9953eebdaf78af4eb72288d7955b310 (patch) | |
tree | fffaf3d22173feae684b7c02ce86c67cf77c7fec /cdec/mira_old.sh | |
parent | 26c490f404731d053a6205719b6246502c07b449 (diff) |
cleanup
Diffstat (limited to 'cdec/mira_old.sh')
-rwxr-xr-x | cdec/mira_old.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/cdec/mira_old.sh b/cdec/mira_old.sh new file mode 100755 index 0000000..5e3c9c3 --- /dev/null +++ b/cdec/mira_old.sh @@ -0,0 +1,22 @@ +#!/bin/bash + +CDEC=/cdec +DEV_IN=/path/to/input/file +DEV_REF=/path/to/refs/file + +$CDEC/mira/kbest_mira \ + --input_weights weights.init \ + --source $DEV_IN \ + --reference $DEV_REF \ + --passes 15 \ + --mt_metric NIST_BLEU \ + --max_step_size 0.01 \ + --mt_metric_scale 1 \ + --k_best_size 250 \ + --sample_forest \ + --sample_forest_unit_weight_vector \ + --decoder_config $(pwd)/cdec.ini \ + &> mira.out + +gzip mira.out + |