Grammalecte  Diff

Differences From Artifact [37d0c398ac]:

To Artifact [50fbeb414d]:


459
460
461
462
463
464
465














    elif c == "ffl":
        return "ffl"
    elif c == "ſt":
        return "ft"
    elif c == "st":
        return "st"
    return "_"





















>
>
>
>
>
>
>
>
>
>
>
>
>
>
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)