diff --git a/trainer/src/TrainInfos.cpp b/trainer/src/TrainInfos.cpp index ed52f748b4a432981261dd3dab05d3c9f36059df..8f8a8e371f6effa270631fb4aaaa921ab7e502c5 100644 --- a/trainer/src/TrainInfos.cpp +++ b/trainer/src/TrainInfos.cpp @@ -211,7 +211,7 @@ void TrainInfos::computeTrainScores(Config & c) for (auto & it : topologyPrinted) { if (it.first == "Parser") - addTrainScore(it.first, (scoresFloat["UAS"] + scoresFloat["LAS"] + scoresFloat["Sentences"]) / 3); + addTrainScore(it.first, (scoresFloat["UAS"] + scoresFloat["LAS"]) / 2); else if (it.first == "Segmenter") addTrainScore(it.first, scoresFloat["Sentences"]); else if (it.first == "Tokenizer") @@ -269,7 +269,7 @@ void TrainInfos::computeDevScores(Config & c) for (auto & it : topologyPrinted) { if (it.first == "Parser") - addDevScore(it.first, (scoresFloat["UAS"] + scoresFloat["LAS"] + scoresFloat["Sentences"]) / 3); + addDevScore(it.first, (scoresFloat["UAS"] + scoresFloat["LAS"]) / 2); else if (it.first == "Segmenter") addDevScore(it.first, scoresFloat["Sentences"]); else if (it.first == "Tokenizer")