@@ -1140,10 +1140,14 @@ "set morphologies of , 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}