diff options
author | Hieu Hoang <fishandfrolick@gmail.com> | 2012-06-07 22:40:10 +0400 |
---|---|---|
committer | Hieu Hoang <fishandfrolick@gmail.com> | 2012-06-07 22:40:10 +0400 |
commit | 82ca9fba6943bd01c55287f5765ba7fa3b746df8 (patch) | |
tree | 8fafd7756edc261efcd8a0d665419455f2054238 /scripts | |
parent | 03ce774d0e10631744bc9d3b619d2b230df9e073 (diff) |
delete example suffix array files
Diffstat (limited to 'scripts')
5 files changed, 13 insertions, 30 deletions
diff --git a/scripts/training/wrappers/adam-suffix-array/run.sa.create.sh b/scripts/training/wrappers/adam-suffix-array/run.sa.create.sh deleted file mode 100755 index 80e964fc1..000000000 --- a/scripts/training/wrappers/adam-suffix-array/run.sa.create.sh +++ /dev/null @@ -1,8 +0,0 @@ -SA_EXEC_DIR=/Users/hieuhoang/workspace/github/cdec/sa-extract -SOURCE_CORPUS=/Users/hieuhoang/workspace/data/europarl/exp/fr-en/training/corpus.2.fr -TARGET_CORPUS=/Users/hieuhoang/workspace/data/europarl/exp/fr-en/training/corpus.2.en -ALIGNMENT=/Users/hieuhoang/workspace/data/europarl/exp/fr-en/model/aligned.3.grow-diag-final-and -SA_OUTPUT=/Users/hieuhoang/workspace/data/europarl/exp/fr-en/model/suffix-array.3 - -~/workspace/bin/moses-smt/scripts/training/wrappers/adam-suffix-array/suffix-array-create.sh $SA_EXEC_DIR $SOURCE_CORPUS $TARGET_CORPUS $ALIGNMENT $SA_OUTPUT - diff --git a/scripts/training/wrappers/adam-suffix-array/run.sa.extract.sh b/scripts/training/wrappers/adam-suffix-array/run.sa.extract.sh deleted file mode 100755 index 8a77eee76..000000000 --- a/scripts/training/wrappers/adam-suffix-array/run.sa.extract.sh +++ /dev/null @@ -1,8 +0,0 @@ -SA_EXEC_DIR=/Users/hieuhoang/workspace/github/cdec/sa-extract -MODEL_DIR=/Users/hieuhoang/workspace/data/europarl/exp/fr-en/model/suffix-array.3 - -INPUT_FILE=/Users/hieuhoang/workspace/data/europarl/exp/fr-en/tuning/input.lc.2 -OUTPUT_DIR=/Users/hieuhoang/workspace/data/europarl/exp/fr-en/tuning/filtered.sa.3 - -~/workspace/bin/moses-smt/scripts/training/wrappers/adam-suffix-array/suffix-array-extract.sh $SA_EXEC_DIR $MODEL_DIR $INPUT_FILE $OUTPUT_DIR - diff --git a/scripts/training/wrappers/adam-suffix-array/run.sa.tune.sh b/scripts/training/wrappers/adam-suffix-array/run.sa.tune.sh deleted file mode 100755 index c832854bd..000000000 --- a/scripts/training/wrappers/adam-suffix-array/run.sa.tune.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -PATH="/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/texbin" -cd /Users/hieuhoang/unison/workspace/data/europarl/exp/fr-en -echo 'starting at '`date`' on '`hostname` -mkdir -p /Users/hieuhoang/unison/workspace/data/europarl/exp/fr-en/tuning - -/Users/hieuhoang/workspace/bin/current/scripts/training/mert-moses.pl /Users/hieuhoang/unison/workspace/data/europarl/exp/fr-en/tuning/input.lc.2 /Users/hieuhoang/unison/workspace/data/europarl/exp/fr-en/tuning/reference.lc.1 /Users/hieuhoang/workspace/bin/current/dist/bin/moses_chart /Users/hieuhoang/unison/workspace/data/europarl/exp/fr-en/tuning/sa/moses.ini.3 --nbest 100 --working-dir /Users/hieuhoang/unison/workspace/data/europarl/exp/fr-en/tuning/tmp.3 --decoder-flags "-threads 2 -cube-pruning-pop-limit 100 -s 30 -v 0 " --rootdir /Users/hieuhoang/workspace/bin/current/scripts -mertdir /Users/hieuhoang/workspace/bin/current/dist/bin --no-filter-phrase-table --continue - -mkdir -p /Users/hieuhoang/unison/workspace/data/europarl/exp/fr-en/tuning -cp /Users/hieuhoang/unison/workspace/data/europarl/exp/fr-en/tuning/tmp.3/moses.ini /Users/hieuhoang/unison/workspace/data/europarl/exp/fr-en/tuning/moses.ini.3 - -echo 'finished at '`date` -touch /Users/hieuhoang/unison/workspace/data/europarl/exp/fr-en/steps/3/TUNING_tune.3.DONE diff --git a/scripts/training/wrappers/adam-suffix-array/suffix-array-create.sh b/scripts/training/wrappers/adam-suffix-array/suffix-array-create.sh index 9b0a68190..e5210a990 100755 --- a/scripts/training/wrappers/adam-suffix-array/suffix-array-create.sh +++ b/scripts/training/wrappers/adam-suffix-array/suffix-array-create.sh @@ -2,6 +2,13 @@ # execute: ~/workspace/bin/moses-smt/scripts/training/wrappers/suffix-array-create.sh $SA_EXEC_DIR $SOURCE_CORPUS $TARGET_CORPUS $ALIGNMENT $SA_OUTPUT +# eg. +#SA_EXEC_DIR=/Users/hieuhoang/workspace/github/cdec/sa-extract +#SOURCE_CORPUS=/Users/hieuhoang/workspace/data/europarl/exp/fr-en/training/corpus.2.fr +#TARGET_CORPUS=/Users/hieuhoang/workspace/data/europarl/exp/fr-en/training/corpus.2.en +#ALIGNMENT=/Users/hieuhoang/workspace/data/europarl/exp/fr-en/model/aligned.3.grow-diag-final-and +#SA_OUTPUT=/Users/hieuhoang/workspace/data/europarl/exp/fr-en/model/suffix-array.3 + SA_EXEC_DIR=$1 SOURCE_CORPUS=$2 diff --git a/scripts/training/wrappers/adam-suffix-array/suffix-array-extract.sh b/scripts/training/wrappers/adam-suffix-array/suffix-array-extract.sh index d3d9ff86d..c1f29d6c9 100755 --- a/scripts/training/wrappers/adam-suffix-array/suffix-array-extract.sh +++ b/scripts/training/wrappers/adam-suffix-array/suffix-array-extract.sh @@ -2,6 +2,12 @@ # execute: ~/workspace/bin/moses-smt/scripts/training/wrappers/adam-suffix-array/suffix-array-extract.sh $SA_EXEC_DIR $MODEL_DIR $INPUT_FILE $OUTPUT_DIR +# eg. +#SA_EXEC_DIR=/Users/hieuhoang/workspace/github/cdec/sa-extract +#MODEL_DIR=/Users/hieuhoang/workspace/data/europarl/exp/fr-en/model/suffix-array.3 +#INPUT_FILE=/Users/hieuhoang/workspace/data/europarl/exp/fr-en/tuning/input.lc.2 +#OUTPUT_DIR=/Users/hieuhoang/workspace/data/europarl/exp/fr-en/tuning/filtered.sa.3 + SA_EXEC_DIR=$1 MODEL_DIR=$2 INPUT_FILE=$3 |