Assign valid score during construction

This commit is contained in:
toasted-nutbread 2020-02-01 20:35:21 -05:00
parent daf0385448
commit 5541aae201

View File

@ -168,7 +168,7 @@ function dictTermsMergeBySequence(definitions, mainDictionary) {
if (typeof sequencedDefinition === 'undefined') { if (typeof sequencedDefinition === 'undefined') {
sequencedDefinition = { sequencedDefinition = {
reasons: definition.reasons, reasons: definition.reasons,
score: Number.MIN_SAFE_INTEGER, score: definition.score,
expression: new Set(), expression: new Set(),
reading: new Set(), reading: new Set(),
expressions: new Map(), expressions: new Map(),