Differences From Artifact [fb5a2dbac5]:
- File gc_core/py/lang_core/gc_engine.py — part of check-in [f7e8fadbf4] at 2018-07-14 10:05:05 on branch rg — [build][core] analyse merged token values (user: olr, size: 47460) [annotate] [blame] [check-ins using]
To Artifact [e5bcf3ef2a]:
- File gc_core/py/lang_core/gc_engine.py — part of check-in [c41af43fe1] at 2018-07-14 12:45:13 on branch rg — [build][core] desambiguisation: define tokens according to a slice of it (user: olr, size: 47612) [annotate] [blame] [check-ins using]
| ︙ | |||
1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 | 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 | + + + + |
def g_define (dToken, lMorph):
"set morphologies of <dToken>, always return True"
dToken["lMorph"] = lMorph
#print("DA:", dToken["sValue"], lMorph)
return True
def g_define_from (dToken, nLeft, nRight=None):
dToken["lMorph"] = _oSpellChecker.getMorph(dToken["sValue"][slice(nLeft, nRight)])
return True
#### GRAMMAR CHECKER PLUGINS
${plugins}
|
| ︙ |