Overview
| Comment: | [graphspell] char_player: word simplification, that was finally a bad idea -> back to previous behavior (almost) |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk | graphspell |
| Files: | files | file ages | folders |
| SHA3-256: |
2117c11a7466938aa0d91617c5821c5f |
| User & Date: | olr on 2018-11-24 15:58:56 |
| Other Links: | manifest | tags |
Context
|
2018-11-24
| ||
| 18:28 | [fr] faux positifs check-in: 240f417ec9 user: olr tags: trunk, fr | |
| 15:58 | [graphspell] char_player: word simplification, that was finally a bad idea -> back to previous behavior (almost) check-in: 2117c11a74 user: olr tags: trunk, graphspell | |
| 15:36 | [fr] màj: suj +avoir l’air, +nr: confusions, +ajustements check-in: bcdc5cdc8d user: olr tags: trunk, fr | |
Changes
Modified graphspell-js/char_player.js from [f96c981877] to [aaed91ab4d].
| ︙ | |||
18 19 20 21 22 23 24 | 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | - - - - - + + + + + |
for (let c of sWord) {
sNewWord += this._xTransCharsForSpelling.gl_get(c, c);
}
return sNewWord.normalize("NFC");
},
_xTransCharsForSimplification: new Map([
|
| ︙ |
Modified graphspell/char_player.py from [702cb9b352] to [64714404fb].
| ︙ | |||
13 14 15 16 17 18 19 | 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | - - - - - + + + + + |
def spellingNormalization (sWord):
"nomalization NFC and removing ligatures"
return unicodedata.normalize("NFC", sWord.translate(_xTransCharsForSpelling))
_xTransCharsForSimplification = str.maketrans({
|
| ︙ |