diff options
author | trevor.cohn <trevor.cohn@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-08-04 19:34:47 +0000 |
---|---|---|
committer | trevor.cohn <trevor.cohn@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-08-04 19:34:47 +0000 |
commit | 801fc08bb33fda4b3c06b88e86d25823084c1b3c (patch) | |
tree | 09a048b3c241d395204e0e44d0a3ab998fb2fc5d /gi/pipeline | |
parent | 640f70df254278e62f26e58f44df144c34c93c9e (diff) |
Added goal option
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@478 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'gi/pipeline')
-rwxr-xr-x | gi/pipeline/evaluation-pipeline.pl | 3 |
1 files changed, 3 insertions, 0 deletions
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; |