diff options
author | phkoehn <phkoehn@1f5c12ca-751b-0410-a591-d2e778427230> | 2007-02-26 15:19:06 +0300 |
---|---|---|
committer | phkoehn <phkoehn@1f5c12ca-751b-0410-a591-d2e778427230> | 2007-02-26 15:19:06 +0300 |
commit | a89acb34aed6f8541ae0c5991c3167f117da153d (patch) | |
tree | cef57ae010fb59a178a9b2f96a7b668339cc7bed /scripts/recaser | |
parent | 62b4741de0fb7d7285377bcb2699b9549e2c2b20 (diff) |
minor bug fix to recaser training
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@1242 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'scripts/recaser')
-rwxr-xr-x | scripts/recaser/train-recaser.perl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/recaser/train-recaser.perl b/scripts/recaser/train-recaser.perl index 632be1431..489886b1f 100755 --- a/scripts/recaser/train-recaser.perl +++ b/scripts/recaser/train-recaser.perl @@ -86,6 +86,7 @@ sub train_recase_model { print STDERR "\n(4) Training recasing model @ ".`date`; my $cmd = "$TRAIN_SCRIPT --root-dir $DIR --model-dir $DIR --first-step $first --alignment a --corpus $DIR/aligned --f lowercased --e cased --max-phrase-length $MAX_LEN --lm 0:3:$DIR/cased.srilm.gz:0"; $cmd .= " -scripts-root-dir $SCRIPTS_ROOT_DIR" if $SCRIPTS_ROOT_DIR; + $cmd .= " -config $CONFIG" if $CONFIG; print STDERR $cmd."\n"; print STDERR `$cmd`; } |