Differences From Artifact [150bfbed66]:
- File grammalecte-cli.py — part of check-in [ae76e8614f] at 2018-02-20 12:12:28 on branch trunk — [core][cli][API] wrapper for the grammar checker (user: olr, size: 11507) [annotate] [blame] [check-ins using] [more...]
To Artifact [3cad321446]:
- File grammalecte-cli.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: 11857) [annotate] [blame] [check-ins using] [more...]
︙ | |||
186 187 188 189 190 191 192 | 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 | + + + + + + + + - - + + | for sWord in sText[1:].strip().split(): if sWord: for lSugg in oSpellChecker.suggest(sWord): echo(" | ".join(lSugg)) elif sText.startswith(">"): oSpellChecker.drawPath(sText[1:].strip()) elif sText.startswith("="): sSearch = sText[1:].strip() if "=" in sSearch: nCut = sSearch.find("=") sFlexPattern = sSearch[0:nCut] sTagsPattern = sSearch[nCut+1:] else: sFlexPattern = sSearch sTagsPattern = "" |
︙ |