diff options
author | Matthias Huck <huck@i6.informatik.rwth-aachen.de> | 2013-11-13 22:31:15 +0400 |
---|---|---|
committer | Matthias Huck <huck@i6.informatik.rwth-aachen.de> | 2013-11-13 22:31:15 +0400 |
commit | c94c998f63de8a28511b902fa66fe591ccabc738 (patch) | |
tree | 46be561647fcf1643e2c197c361c8eb1931e48b1 /moses/ChartParser.cpp | |
parent | 6bee77e207688833e7f9b0668de884f56a3218f5 (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.cpp | 2 |
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 |