From cdc426ec830a2bb33141c2b968482f5da54af482 Mon Sep 17 00:00:00 2001 From: "trevor.cohn" Date: Fri, 23 Jul 2010 16:43:20 +0000 Subject: 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 --- gi/pipeline/local-gi-pipeline.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.2.3