summaryrefslogtreecommitdiff
path: root/gi
diff options
context:
space:
mode:
authortrevor.cohn <trevor.cohn@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-23 16:43:20 +0000
committertrevor.cohn <trevor.cohn@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-23 16:43:20 +0000
commitcdc426ec830a2bb33141c2b968482f5da54af482 (patch)
tree448bf64b5be12b3fdec6777f7e716ac9e24ccae3 /gi
parent7d0cad292c444baddd70c3b76540304364d454d9 (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-xgi/pipeline/local-gi-pipeline.pl2
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 {