diff options
author | trevor.cohn <trevor.cohn@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-23 16:43:20 +0000 |
---|---|---|
committer | trevor.cohn <trevor.cohn@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-23 16:43:20 +0000 |
commit | 18b6947b83708f0d63c054243245e6678b1c979e (patch) | |
tree | d40d1e6dfb713223120d91dd3781c2b714086a2f /gi | |
parent | 3e32deafa6ac5d0904f19c570b0e9dd0521ddbdc (diff) |
Fixed bug when patching the source language with tags and preserving phrase tokens.
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@378 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'gi')
-rwxr-xr-x | gi/pipeline/local-gi-pipeline.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gi/pipeline/local-gi-pipeline.pl b/gi/pipeline/local-gi-pipeline.pl index e832e556..37051721 100755 --- a/gi/pipeline/local-gi-pipeline.pl +++ b/gi/pipeline/local-gi-pipeline.pl @@ -189,7 +189,7 @@ sub setup_data { die "Can't find $TAGGED_CORPUS" unless -f $TAGGED_CORPUS; my $opt=""; $opt = "-s" if ($LANGUAGE eq "source"); - $opt = "-a" if ($PRESERVE_PHRASES); + $opt = $opt . " -a" if ($PRESERVE_PHRASES); my $cmd="$PATCH_CORPUS $opt $TAGGED_CORPUS $CORPUS_LEX > $CORPUS_CLUSTER"; safesystem($cmd) or die "Failed to extract contexts."; } else { |