Overview
Comment: | [core][py] Don’t use Python 3.6 syntax for Grammalecte core |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | core |
Files: | files | file ages | folders |
SHA3-256: |
82d2c8dea249aca14df2457cd3c16ebc |
User & Date: | olr on 2017-11-29 11:09:04 |
Other Links: | manifest | tags |
Context
2017-11-30
| ||
00:01 | [core] options filenames in setup.py check-in: ff0c994b3e user: olr tags: trunk, core, v0.6.1 | |
2017-11-29
| ||
11:09 | [core][py] Don’t use Python 3.6 syntax for Grammalecte core check-in: 82d2c8dea2 user: olr tags: trunk, core | |
2017-11-27
| ||
19:20 | [fr] màj: locutions check-in: a608c531f0 user: olr tags: trunk, fr | |
Changes
Modified gc_core/py/str_transform.py from [3d25d1270b] to [646bc07929].
︙ | ︙ | |||
101 102 103 104 105 106 107 | nLocalCS = 0 i1 = i2 = min(i1, i2) nLargestCS += nLocalCS return round(max(nLen1, nLen2) - nLargestCS + nTrans) def showDistance (s1, s2): | | | | 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | nLocalCS = 0 i1 = i2 = min(i1, i2) nLargestCS += nLocalCS return round(max(nLen1, nLen2) - nLargestCS + nTrans) def showDistance (s1, s2): print("Damerau-Levenshtein: " + s1 + "/" + s2 + " = " + distanceDamerauLevenshtein(s1, s2)) print("Sift4:" + s1 + "/" + s2 + " = " + distanceSift4(s1, s2)) #### STEMMING OPERATIONS ## No stemming |
︙ | ︙ |