Differences From Artifact [37d0c398ac]:
- File gc_lang/fr/modules/gce_suggestions.py — part of check-in [8a4cad3f05] at 2017-09-25 10:04:49 on branch trunk — [fr] suggestion des graphies similaires mieux contrôlée (user: olr, size: 16569) [annotate] [blame] [check-ins using] [more...]
To Artifact [50fbeb414d]:
- File gc_lang/fr/modules/gce_suggestions.py — part of check-in [d46b63623e] at 2017-10-15 12:19:00 on branch trunk — [fr] gestion de l’écriture dite “inclusive” (brainfuck) (user: olr, size: 16833) [annotate] [blame] [check-ins using]
︙ | |||
459 460 461 462 463 464 465 | 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 | + + + + + + + + + + + + + + | elif c == "ffl": return "ffl" elif c == "ſt": return "ft" elif c == "st": return "st" return "_" _xNormalizedCharsForInclusiveWriting = str.maketrans({ '(': '_', ')': '_', '.': '_', '·': '_', '–': '_', '—': '_', '/': '_' }) def normalizeInclusiveWriting (sToken): return sToken.translate(_xNormalizedCharsForInclusiveWriting) |