Grammalecte  Check-in [11b97074cc]

Overview
Comment:[fr] màj: ordinaux
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | fr
Files: files | file ages | folders
SHA3-256: 11b97074ccac8e7ac313ea60d0035ba579a8f7806dab8e78bb41dd15baedb5c0
User & Date: olr on 2018-12-26 11:19:44
Other Links: manifest | tags
Context
2018-12-26
12:01
[fr] faux positifs check-in: f9acbc2537 user: olr tags: trunk, fr
11:19
[fr] màj: ordinaux check-in: 11b97074cc user: olr tags: trunk, fr
2018-12-24
22:14
[fr] faux positifs check-in: 66f8018bfc user: olr tags: trunk, fr
Changes

Modified gc_lang/fr/rules.grx from [50ba8dbd13] to [4d87278184].

2985
2986
2987
2988
2989
2990
2991



2992
2993
2994



2995
2996

2997
2998
2999
3000
3001
3002
3003
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010







+
+
+



+
+
+


+








    IIdes
        <<- /typo/ sContext != "Writer" ->> IIᵈᵉˢ   # Nombre ordinal romain. Second : IIᵈ. Seconde : IIᵈᵉ. Seconds : IIᵈˢ. Secondes : IIᵈᵉˢ.|http://bdl.oqlf.gouv.qc.ca/bdl/gabarit_bdl.asp?id=4271

    ~^[IVXLCM]{2,10}e$
        <<- /typo/ sContext != "Writer" ->> =\1[:-1]+"ᵉ"    # Nombre ordinal romain singulier. Exemples : 2ᵉ, 3ᵉ, 4ᵉ…|http://bdl.oqlf.gouv.qc.ca/bdl/gabarit_bdl.asp?id=4271

    [Ie|Ve|Xe]
        <<- /typo/ sContext != "Writer" ->> =\1[:-1]+"ᵉ"    # Nombre ordinal romain singulier. Exemples : 2ᵉ, 3ᵉ, 4ᵉ…|http://bdl.oqlf.gouv.qc.ca/bdl/gabarit_bdl.asp?id=4271

    ~^[IVXLCM]{2,10}es$
        <<- /typo/ sContext != "Writer" ->> =\1[:-2]+"ᵉˢ"   # Nombre ordinal romain pluriel. Exemples : 2ᵉˢ, 3ᵉˢ, 4ᵉˢ…|http://bdl.oqlf.gouv.qc.ca/bdl/gabarit_bdl.asp?id=4271

    [Ies|Ves|Xes]
        <<- /typo/ sContext != "Writer" ->> =\1[:-2]+"ᵉˢ"   # Nombre ordinal romain pluriel. Exemples : 2ᵉˢ, 3ᵉˢ, 4ᵉˢ…|http://bdl.oqlf.gouv.qc.ca/bdl/gabarit_bdl.asp?id=4271

TEST: François {{Ier}}                          ->> Iᵉʳ
TEST: c’est le {{IIe}} siècle                   ->> IIᵉ
TEST: La {{Ve}} République                      ->> Vᵉ


__typo_ordinaux_chiffres_romains_incorrects__
    I ier
    Iier
        <<- /typo/ ->> Iᵉʳ          # Nombre ordinal romain. Premier : Iᵉʳ. Première : Iʳᵉ. Premiers : Iᵉʳˢ. Premières : Iʳᵉˢ.|http://bdl.oqlf.gouv.qc.ca/bdl/gabarit_bdl.asp?id=4271