From 801fc08bb33fda4b3c06b88e86d25823084c1b3c Mon Sep 17 00:00:00 2001 From: "trevor.cohn" Date: Wed, 4 Aug 2010 19:34:47 +0000 Subject: Added goal option git-svn-id: https://ws10smt.googlecode.com/svn/trunk@478 ec762483-ff6d-05da-a07a-a48fb63a330f --- gi/pipeline/evaluation-pipeline.pl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gi/pipeline/evaluation-pipeline.pl') diff --git a/gi/pipeline/evaluation-pipeline.pl b/gi/pipeline/evaluation-pipeline.pl index 675fd8c2..2660155f 100755 --- a/gi/pipeline/evaluation-pipeline.pl +++ b/gi/pipeline/evaluation-pipeline.pl @@ -9,6 +9,7 @@ my $SCRIPT_DIR; BEGIN { use Cwd qw/ abs_path /; use File::Basename; $SCRIPT_DIR my $JOBS = 15; my $PMEM = "9G"; my $NUM_TRANSLATIONS = 30; +my $GOAL = "S"; # featurize_grammar may add multiple features from a single feature extractor # the key in this map is the extractor name, the value is a list of the extracted features @@ -139,6 +140,7 @@ if (GetOptions( "jobs=i" => \$JOBS, "out-dir=s" => \$outdir, "lmorder=i" => \$lmorder, + "goal=s" => \$GOAL, ) == 0 || @ARGV!=2 || $help) { print_help(); exit; @@ -311,6 +313,7 @@ scfg_default_nt=OOV scfg_no_hiero_glue_grammar=true feature_function=WordPenalty feature_function=LanguageModel -o $lmorder $LANG_MODEL +goal=$GOAL EOT print CDECINI "grammar=$bkoff_grmr\n" if $bkoffgram; close CDECINI; -- cgit v1.2.3