Differences From Artifact [465d7a71d5]:
- File gc_core/py/ibdawg.py — part of check-in [d78ef84a02] at 2017-10-22 09:15:49 on branch trunk — [core][py] small code cleaning (user: olr, size: 32421) [annotate] [blame] [check-ins using]
To Artifact [d3b377616f]:
- File gc_core/py/ibdawg.py — part of check-in [0114e69bdb] at 2017-10-22 09:17:02 on branch trunk — [core] reduce number of hard replacements (avoid slowness) (user: olr, size: 32421) [annotate] [blame] [check-ins using]
︙ | |||
187 188 189 190 191 192 193 | 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 | - + | l.extend(self.morph(sWord.capitalize())) return l def suggest (self, sWord, nMaxSugg=10): "returns a set of suggestions for <sWord>" aSugg = set() nMaxDel = len(sWord) // 5 |
︙ |