Overview
| Comment: | [graphspell] fix search for similar entries |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk | graphspell |
| Files: | files | file ages | folders |
| SHA3-256: |
9356ee922995e404748e12df35476a17 |
| User & Date: | olr on 2018-12-02 10:49:12 |
| Other Links: | manifest | tags |
Context
|
2018-12-02
| ||
| 13:52 | [fr] faux positifs et ajustements check-in: b2b197679c user: olr tags: trunk, fr | |
| 10:49 | [graphspell] fix search for similar entries check-in: 9356ee9229 user: olr tags: trunk, graphspell | |
| 10:15 | [lo] ui: text formatter rework (smaller window) check-in: cc67f5f677 user: olr tags: trunk, lo | |
Changes
Modified graphspell-js/ibdawg.js from [87959bb3f3] to [a476daaa59].
| ︙ | |||
477 478 479 480 481 482 483 | 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 | - + |
// return a list of tuples (similar word, stem, morphology)
if (sWord == "") {
return [];
}
let lResult = [];
for (let sSimilar of this.suggest(sWord, nSuggLimit)) {
for (let sMorph of this.getMorph(sSimilar)) {
|
| ︙ |
Modified graphspell/ibdawg.py from [630526bab1] to [57d8f101a6].
| ︙ | |||
451 452 453 454 455 456 457 | 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 | - + |
def getSimilarEntries (self, sWord, nSuggLimit=10):
"return a list of tuples (similar word, stem, morphology)"
if not sWord:
return []
lResult = []
for sSimilar in self.suggest(sWord, nSuggLimit):
for sMorph in self.getMorph(sSimilar):
|
| ︙ |