mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-26 13:23:25 +03:00
fixed bug in InterpolatedScorer
This commit is contained in:
parent
34c8975aa7
commit
7b9c5c1194
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user