Differences From Artifact [a10785f066]:
- File gc_core/js/lang_core/gc_engine.js — part of check-in [79e9913b4f] at 2020-08-22 15:23:25 on branch salxg — [core][fx][cli] syntax analysis and new lexicographer (user: olr, size: 51079) [annotate] [blame] [check-ins using]
To Artifact [c1f3aa973c]:
- File gc_core/js/lang_core/gc_engine.js — part of check-in [257257469a] at 2020-08-25 16:03:35 on branch salxg — [core][graphspell][fx] update lexicographer (user: olr, size: 51153) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
229 230 231 232 233 234 235 236 237 238 239 240 241 242 |
for (let oToken of this.lTokens0) {
if (oToken["sType"] == "WORD") {
oToken["bValidToken"] = gc_engine.oSpellChecker.isValidToken(oToken["sValue"]);
}
if (!oToken.hasOwnProperty("lMorph")) {
oToken["lMorph"] = gc_engine.oSpellChecker.getMorph(oToken["sValue"]);
}
}
lSentences.push({
"nStart": iStart,
"nEnd": iEnd,
"sSentence": this.sSentence0,
"lTokens": this.lTokens0,
"lGrammarErrors": Array.from(this.dSentenceError.values())
| > | 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 |
for (let oToken of this.lTokens0) {
if (oToken["sType"] == "WORD") {
oToken["bValidToken"] = gc_engine.oSpellChecker.isValidToken(oToken["sValue"]);
}
if (!oToken.hasOwnProperty("lMorph")) {
oToken["lMorph"] = gc_engine.oSpellChecker.getMorph(oToken["sValue"]);
}
gc_engine.oSpellChecker.setLabelsOnToken(oToken);
}
lSentences.push({
"nStart": iStart,
"nEnd": iEnd,
"sSentence": this.sSentence0,
"lTokens": this.lTokens0,
"lGrammarErrors": Array.from(this.dSentenceError.values())
|
| ︙ | ︙ |