Overview
Comment: | [graphspell][cli] select by flexion and by tags |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | cli | graphspell | multid |
Files: | files | file ages | folders |
SHA3-256: |
4e94d8cfc8b92a6e0eb26ffd1ba24127 |
User & Date: | olr on 2018-03-21 17:40:29 |
Other Links: | branch diff | manifest | tags |
Context
2018-03-21
| ||
19:37 | [tb] lexicon editor: search similar words / search by regex check-in: 7735782edd user: olr tags: tb, multid | |
17:40 | [graphspell][cli] select by flexion and by tags check-in: 4e94d8cfc8 user: olr tags: cli, graphspell, multid | |
17:06 | [tb] lexicon editor: ui update > search tab + info tab check-in: 93888e7c05 user: olr tags: tb, multid | |
Changes
Modified grammalecte-cli.py from [150bfbed66] to [3a000dfd52].
︙ | |||
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 | + + + + + + + + - + | 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 = "" |
︙ |
Modified graphspell-js/ibdawg.js from [73e27f350e] to [494630e09a].
︙ | |||
414 415 416 417 418 419 420 | 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 | - - - - - - - - - - - + + + + + + + + + + + + - - + - + - + + - - - - + + + + + | return aTails; } // morph (sWord) { // is defined in constructor // } |
︙ |
Modified graphspell-js/spellchecker.js from [02db3a2be4] to [a81aa20368].
︙ | |||
228 229 230 231 232 233 234 | 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 | - - - + + + - + - + - + | yield this.oCommunityDic.suggest(sWord, nSuggLimit); } if (this.bPersonalDic) { yield this.oPersonalDic.suggest(sWord, nSuggLimit); } } |
Modified graphspell/ibdawg.py from [145a26a0d0] to [7fe99d0e79].
︙ | |||
405 406 407 408 409 410 411 | 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 | - - - - - - - - - - + + + + + + + + + + + + + - + - + + - - - - + + + + | n += 1 if not sWord: return if iPos >= 0: print("\n "+ " " * iPos + "|") self.drawPath(sWord[1:], iNextNodeAddr) |
︙ |
Modified graphspell/spellchecker.py from [eb6fcccb55] to [1230d0d8a8].
︙ | |||
189 190 191 192 193 194 195 | 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 | - - - + + + - + - + - + | if self.bExtendedDic: yield self.oExtendedDic.suggest(sWord, nSuggLimit) if self.bCommunityDic: yield self.oCommunityDic.suggest(sWord, nSuggLimit) if self.bPersonalDic: yield self.oPersonalDic.suggest(sWord, nSuggLimit) |
︙ |