train-model.perl: don't pass --MaxSpan option to rule extractor if

using GHKM.
This commit is contained in:
Phil Williams 2012-02-01 12:01:24 +00:00
parent 671a2f8c33
commit d2988effa8

View File

@ -1338,8 +1338,8 @@ sub extract_phrase {
if (!defined($_GHKM)) {
$cmd .= " --SourceSyntax" if $_SOURCE_SYNTAX;
$cmd .= " --TargetSyntax" if $_TARGET_SYNTAX;
$cmd .= " --MaxSpan $max_length";
}
$cmd .= " --MaxSpan $max_length";
$cmd .= " ".$_EXTRACT_OPTIONS if defined($_EXTRACT_OPTIONS);
}
else