This commit is contained in:
rjawor 2019-05-17 13:11:08 +02:00
parent adce9ab5bf
commit 91469444ba

View File

@ -83,6 +83,9 @@ std::string ConcordiaServer::handleRequest(std::string & requestString) {
targetSentences.push_back(examplesArray[i][2].GetString()); targetSentences.push_back(examplesArray[i][2].GetString());
alignments.push_back(_getInt2DArray(examplesArray[i][3])); alignments.push_back(_getInt2DArray(examplesArray[i][3]));
sourceIds.push_back(examplesArray[i][4].GetInt()); sourceIds.push_back(examplesArray[i][4].GetInt());
Logger::logString("sourceSentence", examplesArray[i][0].GetString());
Logger::logString("lemmatizedSourceSentence", examplesArray[i][1].GetString());
Logger::logString("targetSentence", examplesArray[i][2].GetString());
} }
} }
_indexController->addSentences(jsonWriter, sourceSentences, lemmatizedSourceSentences, targetSentences, alignments, sourceIds, tmId); _indexController->addSentences(jsonWriter, sourceSentences, lemmatizedSourceSentences, targetSentences, alignments, sourceIds, tmId);