diff options
author | MosesAdmin <moses-support-owner@mit.edu> | 2015-08-08 02:00:45 +0300 |
---|---|---|
committer | MosesAdmin <moses-support-owner@mit.edu> | 2015-08-08 02:00:45 +0300 |
commit | 21aa5af640946c0f00c717a0774d05441a4b6902 (patch) | |
tree | 263d9827fd439e6c909b771821776e40151b7fc8 /moses/ChartParser.cpp | |
parent | 883c34aee9266cce72f9a8851e863cb4b910c718 (diff) |
daily automatic beautifier
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 8c569cec9..98ff9bd00 100644 --- a/moses/ChartParser.cpp +++ b/moses/ChartParser.cpp @@ -106,7 +106,7 @@ void ChartParserUnknown::Process(const Word &sourceWord, const WordsRange &range targetPhrase->SetTargetLHS(targetLHS); targetPhrase->SetAlignmentInfo("0-0"); targetPhrase->EvaluateInIsolation(*unksrc); - + if (staticData.IsDetailedTreeFragmentsTranslationReportingEnabled() || staticData.options().nbest.print_trees || staticData.GetTreeStructure() != NULL) { targetPhrase->SetProperty("Tree","[ " + (*targetLHS)[0]->GetString().as_string() + " "+sourceWord[0]->GetString().as_string()+" ]"); } |