fix Map set in Translator.buildTermFrequencies

This commit is contained in:
siikamiika 2020-02-14 01:12:28 +02:00
parent af89659751
commit e645296b1b

View File

@ -460,7 +460,7 @@ class Translator {
termList = [];
expressionsUnique.push(expression);
termsUnique.push(termList);
termsUniqueMap[expression] = termList;
termsUniqueMap.set(expression, termList);
}
termList.push(term);