Differences From Artifact [dc7c0547ff]:
- File gc_core/py/lang_core/gc_engine.py — 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: 44119) [annotate] [blame] [check-ins using]
To Artifact [95514cb21c]:
- File gc_core/py/lang_core/gc_engine.py — part of check-in [257257469a] at 2020-08-25 16:03:35 on branch salxg — [core][graphspell][fx] update lexicographer (user: olr, size: 44187) [annotate] [blame] [check-ins using]
| ︙ | |||
288 289 290 291 292 293 294 295 296 297 298 299 300 301 | 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 | + |
self.parseText(self.sSentence, self.sSentence0, False, iStart, sCountry, dOpt, bShowRuleId, bDebug, bContext)
if bFullInfo:
for dToken in self.lTokens0:
if dToken["sType"] == "WORD":
dToken["bValidToken"] = _oSpellChecker.isValidToken(dToken["sValue"])
if "lMorph" not in dToken:
dToken["lMorph"] = _oSpellChecker.getMorph(dToken["sValue"])
_oSpellChecker.setLabelsOnToken(dToken)
lSentences.append({
"nStart": iStart,
"nEnd": iEnd,
"sSentence": self.sSentence0,
"lTokens": self.lTokens0,
"lGrammarErrors": list(self.dSentenceError.values())
})
|
| ︙ |