Repository: incubator-joshua Updated Branches: refs/heads/master 044a4e695 -> 76bb8fdcf
small bugfixes Project: http://git-wip-us.apache.org/repos/asf/incubator-joshua/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-joshua/commit/76bb8fdc Tree: http://git-wip-us.apache.org/repos/asf/incubator-joshua/tree/76bb8fdc Diff: http://git-wip-us.apache.org/repos/asf/incubator-joshua/diff/76bb8fdc Branch: refs/heads/master Commit: 76bb8fdcfc86d470c5c7dac99600cc17d590a1b5 Parents: 044a4e6 Author: Matt Post <[email protected]> Authored: Tue Apr 19 08:16:07 2016 -0400 Committer: Matt Post <[email protected]> Committed: Tue Apr 19 08:16:07 2016 -0400 ---------------------------------------------------------------------- scripts/training/pipeline.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/76bb8fdc/scripts/training/pipeline.pl ---------------------------------------------------------------------- diff --git a/scripts/training/pipeline.pl b/scripts/training/pipeline.pl index 7b241b0..b7b5f86 100755 --- a/scripts/training/pipeline.pl +++ b/scripts/training/pipeline.pl @@ -323,7 +323,9 @@ if (! -x $NORMALIZER) { exit 1; } -my $ALIGNER_CONF = get_absolute_path($ALIGNER_CONF); +# Absolutize paths +$ALIGNER_CONF = get_absolute_path($ALIGNER_CONF); +$ALIGNMENT = get_absolute_path($ALIGNMENT); # capitalize these to offset a common error: $FIRST_STEP = uc($FIRST_STEP); @@ -1181,6 +1183,7 @@ if (! defined $GRAMMAR_FILE) { maybe_quit("THRAX"); maybe_quit("GRAMMAR"); +maybe_quit("MODEL"); ## TUNING ############################################################## TUNE:
