Overview
Comment: | [graphspell] improve suggestion mechanism |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | graphspell |
Files: | files | file ages | folders |
SHA3-256: |
e90761a1633000ae43e01c873c7006de |
User & Date: | olr on 2020-08-05 09:42:41 |
Other Links: | manifest | tags |
Context
2020-08-05
| ||
09:48 | [graphspell] suggestion: online -> en ligne check-in: 63df9f2450 user: olr tags: trunk, graphspell | |
09:42 | [graphspell] improve suggestion mechanism check-in: e90761a163 user: olr tags: trunk, graphspell | |
09:30 | [graphspell] move functions from char_player to str_transform and lexicographer check-in: 19fccd89d6 user: olr tags: trunk, graphspell | |
Changes
Modified graphspell-js/str_transform.js from [b78c1f2098] to [46f5d63858].
︙ | |||
53 54 55 56 57 58 59 | 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | - + - + | simplifyWord: function (sWord) { // word simplication before calculating distance between words sWord = sWord.toLowerCase(); sWord = [...sWord].map(c => this._xTransCharsForSimplification.gl_get(c, c)).join(''); let sNewWord = ""; let i = 1; for (let c of sWord) { |
︙ |
Modified graphspell/str_transform.py from [65dd9b4e2a] to [c7bf16d7ce].
︙ | |||
42 43 44 45 46 47 48 | 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | - + - + | }) def simplifyWord (sWord): "word simplication before calculating distance between words" sWord = sWord.lower().translate(_xTransCharsForSimplification) sNewWord = "" for i, c in enumerate(sWord, 1): |
︙ |