diff options
author | Hieu Hoang <fishandfrolick@gmail.com> | 2012-06-07 22:37:11 +0400 |
---|---|---|
committer | Hieu Hoang <fishandfrolick@gmail.com> | 2012-06-07 22:37:11 +0400 |
commit | 03ce774d0e10631744bc9d3b619d2b230df9e073 (patch) | |
tree | 25a168ca22647349eb799bcbf4bb95e11f250490 /scripts/ems | |
parent | 66800a39079764a4b31ec2531956d4522a96d014 (diff) |
suffix array creation script also creates glue grammar
Diffstat (limited to 'scripts/ems')
-rwxr-xr-x | scripts/ems/experiment.perl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/ems/experiment.perl b/scripts/ems/experiment.perl index d5e3a6fe9..d796c4faa 100755 --- a/scripts/ems/experiment.perl +++ b/scripts/ems/experiment.perl @@ -1647,7 +1647,9 @@ sub define_training_build_suffix_array { my $output_extension = &check_backoff_and_get("TRAINING:output-extension"); my $method = &check_and_get("TRAINING:alignment-symmetrization-method"); - my $cmd = "$scripts/training/wrappers/adam-suffix-array/suffix-array-create.sh $sa_exec_dir $corpus.$input_extension $corpus.$output_extension $aligned.$method $model"; + my $glue_grammar_file = &versionize(&long_file_name("glue-grammar","model","")); + + my $cmd = "$scripts/training/wrappers/adam-suffix-array/suffix-array-create.sh $sa_exec_dir $corpus.$input_extension $corpus.$output_extension $aligned.$method $model $glue_grammar_file"; &create_step($step_id,$cmd); } |