From 7b9c5c1194528ddeea7b0c33fa7d1c43f4a3b373 Mon Sep 17 00:00:00 2001 From: Matous Machacek Date: Tue, 19 Mar 2013 23:08:28 +0100 Subject: [PATCH] fixed bug in InterpolatedScorer --- mert/InterpolatedScorer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mert/InterpolatedScorer.cpp b/mert/InterpolatedScorer.cpp index e610cbdd0..af3f26bf2 100644 --- a/mert/InterpolatedScorer.cpp +++ b/mert/InterpolatedScorer.cpp @@ -164,7 +164,7 @@ void InterpolatedScorer::prepareStats(size_t sid, const string& text, ScoreStats { stringstream buff; string align = text; - string sentence = ""; + string sentence = text; size_t alignmentData = text.find("|||"); //Get sentence and alignment parts if(alignmentData != string::npos) {