Differences From Artifact [25fa8fe973]:
- File graphspell-js/ibdawg.js — part of check-in [48d2a67a6a] at 2020-08-19 15:57:22 on branch trunk — [graphspell][js] remove importation dirt... (user: olr, size: 27580) [annotate] [blame] [check-ins using]
To Artifact [858a3af6e6]:
- File graphspell-js/ibdawg.js — part of check-in [e0ce6b10d7] at 2020-09-10 12:17:59 on branch salxg — [core][graphspell][fx][cli] lexicographer: update (user: olr, size: 27635) [annotate] [blame] [check-ins using]
| ︙ | |||
311 312 313 314 315 316 317 318 319 320 321 322 323 324 | 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 | + + + |
}
}
return Boolean(this._convBytesToInteger(this.byDic.slice(iAddr, iAddr+this.nBytesArc)) & this._finalNodeMask);
}
getMorph (sWord) {
// retrieves morphologies list, different casing allowed
if (!sWord) {
return [];
}
sWord = str_transform.spellingNormalization(sWord);
let l = this.morph(sWord);
if (sWord[0].gl_isUpperCase()) {
l.push(...this.morph(sWord.toLowerCase()));
if (sWord.gl_isUpperCase() && sWord.length > 1) {
l.push(...this.morph(sWord.gl_toCapitalize()));
}
|
| ︙ |