Differences From Artifact [781d3c301e]:
- File graphspell/spellchecker.py — part of check-in [2bcf7228cc] at 2018-02-13 14:23:31 on branch multid — [graphspell][py] fix variables name (user: olr, size: 4145) [annotate] [blame] [check-ins using]
To Artifact [17be6ccea2]:
- File graphspell/spellchecker.py — part of check-in [ad736fa52b] at 2018-02-13 16:05:06 on branch multid — [graphspell][py] drawPath() for spellchecker (user: olr, size: 4422) [annotate] [blame] [check-ins using]
| ︙ | |||
109 110 111 112 113 114 115 | 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | + + + + + + + + + |
def select (self, sPattern=""):
"generator: returns all entries which morphology fits <sPattern>"
yield from self.oMainDic.select(sPattern)
if self.oExtendedDic:
yield from self.oExtendedDic.select(sPattern)
if self.oPersonalDic:
yield from self.oPersonalDic.select(sPattern)
def drawPath (self, sWord):
self.oMainDic.drawPath(sWord)
if self.oExtendedDic:
print("-----")
self.oExtendedDic.drawPath(sWord)
if self.oPersonalDic:
print("-----")
self.oPersonalDic.drawPath(sWord)
|