Differences From Artifact [ed7458a4d3]:
- File cli.py — part of check-in [4a53af847f] at 2017-06-30 19:38:27 on branch trunk — [core] ibdawg: select entries from dictionary (can uncompress the full dictionary) (user: olr, size: 12482) [annotate] [blame] [check-ins using] [more...]
To Artifact [68793c6981]:
- File cli.py — part of check-in [f7c9ad046c] at 2017-11-08 08:52:37 on branch spellsugg — [core] ibdawg: code clarification (user: olr, size: 12547) [annotate] [blame] [check-ins using] [more...]
| ︙ | |||
| 206 207 208 209 210 211 212 213 214 215 216 217 218 219 | 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 | + | 
                        echo("* " + sWord)
                        for sMorph in oDict.getMorph(sWord):
                            echo("  {:<32} {}".format(sMorph, oLexGraphe.formatTags(sMorph)))
            elif sText.startswith("!"):
                for sWord in sText[1:].strip().split():
                    if sWord:
                        echo(" | ".join(oDict.suggest(sWord)))
                        #echo(" | ".join(oDict.suggest2(sWord)))
            elif sText.startswith(">"):
                oDict.drawPath(sText[1:].strip())
            elif sText.startswith("="):
                for sRes in oDict.select(sText[1:].strip()):
                    echo(sRes)
            elif sText.startswith("/+ "):
                gce.setOptions({ opt:True  for opt in sText[3:].strip().split()  if opt in gce.getOptions() })
 | 
| ︙ |