Assign valid score during construction
This commit is contained in:
parent
daf0385448
commit
5541aae201
@ -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(),
|
||||||
|
Loading…
Reference in New Issue
Block a user