debug
This commit is contained in:
parent
1b673f603d
commit
83c449e178
@ -188,7 +188,7 @@ ExampleOccurrence UnitDAO::_getExampleOccurrence(DBconnection & connection, cons
|
||||
connection.getStringValue(result,0,2), // target segment
|
||||
connection.getStringValue(result,0,7), // source name
|
||||
connection.getStringValue(result,0,8)); // source link
|
||||
Logger::log("occurence got");
|
||||
Logger::log("occurence got. Example id", occurence.getExampleId());
|
||||
|
||||
std::string targetTokensRaw = connection.getStringValue(result,0,5);
|
||||
Logger::log("target tokens got");
|
||||
@ -210,6 +210,7 @@ ExampleOccurrence UnitDAO::_getExampleOccurrence(DBconnection & connection, cons
|
||||
for(int sourceTokenIndex = sOccurrence.getOffset(); sourceTokenIndex < sOccurrence.getOffset()+matchedLength; sourceTokenIndex++) {
|
||||
BOOST_FOREACH(int & targetTokenIndex, alignments.at(sourceTokenIndex)) {
|
||||
matchedTargetTokens.insert(targetTokenIndex);
|
||||
Logger::logInt("targetTokenIndex", targetTokenIndex);
|
||||
}
|
||||
}
|
||||
Logger::log("matched target tokens computed");
|
||||
|
Loading…
Reference in New Issue
Block a user