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:
authorHieu Hoang <hieuhoang@gmail.com>2015-05-02 13:45:24 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-05-02 13:45:24 +0300
commitcc8c6b7b10abd8118014635609f7658f6a7a1857 (patch)
treecab374bcbf73ff97782e9131380e4f32dbeb1e67 /moses/FF/TreeStructureFeature.cpp
parenta4a7c14593766ab188e1d6ae1c29e67ed201d412 (diff)
beautify
Diffstat (limited to 'moses/FF/TreeStructureFeature.cpp')
-rw-r--r--moses/FF/TreeStructureFeature.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/FF/TreeStructureFeature.cpp b/moses/FF/TreeStructureFeature.cpp
index f2988f2b9..fc1fcdc5b 100644
--- a/moses/FF/TreeStructureFeature.cpp
+++ b/moses/FF/TreeStructureFeature.cpp
@@ -72,7 +72,7 @@ FFState* TreeStructureFeature::EvaluateWhenApplied(const ChartHypothesis& cur_hy
bool full_sentence = (mytree->GetChildren().back()->GetLabel() == "</s>" || (mytree->GetChildren().back()->GetLabel() == "SEND" && mytree->GetChildren().back()->GetChildren().back()->GetLabel() == "</s>"));
if (m_binarized && full_sentence) {
- mytree->Unbinarize();
+ mytree->Unbinarize();
}
return new TreeState(mytree);