Differences From Artifact [1230d0d8a8]:
- File graphspell/spellchecker.py — part of check-in [4e94d8cfc8] at 2018-03-21 17:40:29 on branch multid — [graphspell][cli] select by flexion and by tags (user: olr, size: 8207) [annotate] [blame] [check-ins using]
To Artifact [3ef8ba9d14]:
- File graphspell/spellchecker.py — part of check-in [1fb5cf9076] at 2018-03-23 12:38:49 on branch multid — [graphspell] spellchecker: select returns an array instead of a string, + getSimilarEntries (user: olr, size: 8701) [annotate] [blame] [check-ins using]
| ︙ | |||
210 211 212 213 214 215 216 | 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 | + + + + + + + + + + + |
self.oExtendedDic.drawPath(sWord)
if self.bCommunityDic:
print("-----")
self.oCommunityDic.drawPath(sWord)
if self.bPersonalDic:
print("-----")
self.oPersonalDic.drawPath(sWord)
def getSimilarEntries (self, sWord):
"return a list of tuples (similar word, stem, morphology)"
lResult = self.oMainDic.getSimilarEntries(sWord)
if self.bExtendedDic:
lResult.extend(self.oExtendedDic.getSimilarEntries(sWord))
if self.bCommunityDic:
lResult.extend(self.oCommunityDic.getSimilarEntries(sWord))
if self.bPersonalDic:
lResult.extend(self.oPersonalDic.getSimilarEntries(sWord))
return lResult
|