diff options
author | siikamiika <siikamiika@users.noreply.github.com> | 2020-02-14 01:12:28 +0200 |
---|---|---|
committer | siikamiika <siikamiika@users.noreply.github.com> | 2020-02-14 01:12:28 +0200 |
commit | e645296b1b5e993355844f2cb2b026b87d05759e (patch) | |
tree | c044b99cebfd10c27c8cc90700ba782468441a54 /ext | |
parent | af89659751f72ae282f2c81d797cc224d1077b0a (diff) |
fix Map set in Translator.buildTermFrequencies
Diffstat (limited to 'ext')
-rw-r--r-- | ext/bg/js/translator.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/translator.js b/ext/bg/js/translator.js index 81c2464b..6d5dd50a 100644 --- a/ext/bg/js/translator.js +++ b/ext/bg/js/translator.js @@ -460,7 +460,7 @@ class Translator { termList = []; expressionsUnique.push(expression); termsUnique.push(termList); - termsUniqueMap[expression] = termList; + termsUniqueMap.set(expression, termList); } termList.push(term); |