mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-30 23:42:30 +03:00
train-model.perl: don't pass --MaxSpan option to rule extractor if
using GHKM.
This commit is contained in:
parent
671a2f8c33
commit
d2988effa8
@ -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 .= " ".$_EXTRACT_OPTIONS if defined($_EXTRACT_OPTIONS);
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user