Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Huck <huck@i6.informatik.rwth-aachen.de>2013-11-13 22:31:15 +0400
committerMatthias Huck <huck@i6.informatik.rwth-aachen.de>2013-11-13 22:31:15 +0400
commitc94c998f63de8a28511b902fa66fe591ccabc738 (patch)
tree46be561647fcf1643e2c197c361c8eb1931e48b1 /moses/ChartParser.cpp
parent6bee77e207688833e7f9b0668de884f56a3218f5 (diff)
internal tree structure in chart decoder: use square brackets for OOVs as well
Diffstat (limited to 'moses/ChartParser.cpp')
-rw-r--r--moses/ChartParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/ChartParser.cpp b/moses/ChartParser.cpp
index c9100d107..63e79dbc9 100644
--- a/moses/ChartParser.cpp
+++ b/moses/ChartParser.cpp
@@ -99,7 +99,7 @@ void ChartParserUnknown::Process(const Word &sourceWord, const WordsRange &range
targetPhrase->SetTargetLHS(targetLHS);
targetPhrase->SetAlignmentInfo("0-0");
if (staticData.IsDetailedTreeFragmentsTranslationReportingEnabled()) {
- targetPhrase->SetProperty("Tree","( " + (*targetLHS)[0]->GetString().as_string() + " "+sourceWord[0]->GetString().as_string()+" )");
+ targetPhrase->SetProperty("Tree","[ " + (*targetLHS)[0]->GetString().as_string() + " "+sourceWord[0]->GetString().as_string()+" ]");
}
// chart rule