fixed bug in InterpolatedScorer

This commit is contained in:
Matous Machacek 2013-03-19 23:08:28 +01:00
parent 34c8975aa7
commit 7b9c5c1194

View File

@ -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) {