Overview
| Comment: | [fr] gestion de l’écriture dite “inclusive” (brainfuck) |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk | fr |
| Files: | files | file ages | folders |
| SHA3-256: |
d46b63623e2e0d1905a15aeb9bb86f6c |
| User & Date: | olr on 2017-10-15 12:19:00 |
| Other Links: | manifest | tags |
Context
|
2017-10-15
| ||
| 19:05 | [fr][js] delete console.log() for debugging check-in: 6342f17067 user: olr tags: trunk, fr | |
| 12:19 | [fr] gestion de l’écriture dite “inclusive” (brainfuck) check-in: d46b63623e user: olr tags: trunk, fr | |
|
2017-10-12
| ||
| 09:28 | [fr] faux positif: à tu et à toi check-in: a0bf5ea111 user: olr tags: trunk, fr | |
Changes
Modified gc_lang/fr/modules-js/gce_suggestions.js from [a844f36535] to [de987074ad].
| ︙ | |||
591 592 593 594 595 596 597 | 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 | + + + + + + + + + + + + + + + + + + + + + + |
} else if (c == "ſt") {
return "ft";
} else if (c == "st") {
return "st";
}
return "_";
}
const _dNormalizedCharsForInclusiveWriting = new Map([
['(', '_'], [')', '_'],
['.', '_'], ['·', '_'],
['–', '_'], ['—', '_'],
['/', '_']
]);
function normalizeInclusiveWriting (sToken) {
let sRes = "";
console.log("==== " + sToken);
for (let c of sToken) {
if (_dNormalizedCharsForInclusiveWriting.has(c)) {
sRes += _dNormalizedCharsForInclusiveWriting.get(c);
} else {
sRes += c;
}
}
console.log(">>>> " + sRes);
return sRes;
}
|
Modified gc_lang/fr/modules/gce_suggestions.py from [37d0c398ac] to [50fbeb414d].
| ︙ | |||
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)
|
Modified gc_lang/fr/rules.grx from [d8363ea9fd] to [9041a1c843].
| ︙ | |||
542 543 544 545 546 547 548 | 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 | - - + + + + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + - - - - - - - - - | !! !! !!!! Typographie, virgules, espaces insécables, unités de mesure… !! !! |
| ︙ | |||
1134 1135 1136 1137 1138 1139 1140 | 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 | - + - + |
TEST: le {{XXè}} siècle. ->> XXᵉ
!!!! Écritures épicènes invariables
__[i](d_typo_écriture_épicène_pluriel)__
|
| ︙ |