Overview
Comment: | remove comment |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
cffc315674a8c34b179abd69c9bf41ee |
User & Date: | olr on 2017-07-05 15:01:16 |
Other Links: | manifest | tags |
Context
2017-07-06
| ||
14:31 | [fr] phonet_simil: <affect/affecte> check-in: 8ff76fb1e0 user: olr tags: trunk, fr | |
2017-07-05
| ||
15:01 | remove comment check-in: cffc315674 user: olr tags: trunk | |
11:22 | [core] sort suggestions with distance of Damerau-Levenshtein + variables renaming check-in: 44cb3f4d52 user: olr tags: trunk, core | |
Changes
Modified gc_core/py/char_player.py from [55f90e3733] to [845d36e2d1].
1 2 3 4 | # list of similar chars # useful for suggestion mechanism | < | 1 2 3 4 5 6 7 8 9 10 11 | # list of similar chars # useful for suggestion mechanism def distanceBetweenWords (s1, s2): "distance of Damerau-Levenshtein between <s1> and <s2>" # https://fr.wikipedia.org/wiki/Distance_de_Damerau-Levenshtein d = {} nLen1 = len(s1) nLen2 = len(s2) for i in range(-1, nLen1+1): |
︙ | ︙ |