Overview
Comment: | [graphspell] suggestion: prevents splitting trailing numbers if not following an alpha character |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | graphspell |
Files: | files | file ages | folders |
SHA3-256: |
cbbb58a48702deaae6a9afaa9315b041 |
User & Date: | olr on 2020-03-27 12:45:19 |
Other Links: | manifest | tags |
Context
2020-03-27
| ||
13:53 | [server] update bottlepy 0.12.13 -> 0.12.18 check-in: ac85e5e839 user: olr tags: trunk, server | |
12:45 | [graphspell] suggestion: prevents splitting trailing numbers if not following an alpha character check-in: cbbb58a487 user: olr tags: trunk, graphspell | |
12:28 | [fx] gc panel: check if error has property aColor check-in: f3aef226d4 user: olr tags: trunk, fx | |
Changes
Modified graphspell-js/ibdawg.js from [e7f965d16f] to [b87d78e936].
︙ | |||
343 344 345 346 347 348 349 | 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 | - + | } //console.timeEnd("Suggestions for " + sWord); return aSugg; } _splitTrailingNumbers (oSuggResult, sWord) { let m = /^([a-zA-Zà-öÀ-Ö_ø-ÿØ-ßĀ-ʯfi-st][a-zA-Zà-öÀ-Ö_ø-ÿØ-ßĀ-ʯfi-st-]+)([0-9]+)$/.exec(sWord); |
︙ |
Modified graphspell/ibdawg.py from [8d60018109] to [34d4e4f42a].
︙ | |||
313 314 315 316 317 318 319 | 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 | - + | if sSfx or sPfx: # we add what we removed return list(map(lambda sSug: sPfx + sSug + sSfx, aSugg)) return aSugg def _splitTrailingNumbers (self, oSuggResult, sWord): m = re.match(r"(\D+)([0-9]+)$", sWord) |
︙ |