182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
|
lMode = [":Ip", ":Iq", ":Is", ":If"]
elif cMode == ":S":
lMode = [":Sp", ":Sq"]
elif cMode.startswith((":I", ":S")):
lMode = [cMode]
else:
return ""
sWho = _dQuiEst.get(sSuj.lower(), ":3s")
dSugg = {}
for sStem in _oSpellChecker.getLemma(sFlex):
tTags = conj._getTags(sStem)
if tTags:
for sTense in lMode:
if conj._hasConjWithTags(tTags, sTense, sWho):
dSugg[conj._getConjWithTags(sStem, tTags, sTense, sWho)] = ""
|
|
|
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
|
lMode = [":Ip", ":Iq", ":Is", ":If"]
elif cMode == ":S":
lMode = [":Sp", ":Sq"]
elif cMode.startswith((":I", ":S")):
lMode = [cMode]
else:
return ""
sWho = _dQuiEst.get(sSuj.lower(), sSuj)
dSugg = {}
for sStem in _oSpellChecker.getLemma(sFlex):
tTags = conj._getTags(sStem)
if tTags:
for sTense in lMode:
if conj._hasConjWithTags(tTags, sTense, sWho):
dSugg[conj._getConjWithTags(sStem, tTags, sTense, sWho)] = ""
|