Grammalecte  Check-in [86842cf539]

Overview
Comment:[fr] test
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | fr
Files: files | file ages | folders
SHA3-256: 86842cf539d9a11f1730b496c88155d52fc89db6433aaacd46f50e33ca39226f
User & Date: olr on 2019-08-10 12:04:17
Other Links: manifest | tags
Context
2019-08-10
12:04
[fx] endTimer when worker restarted check-in: 7636860335 user: olr tags: trunk, fx
12:04
[fr] test check-in: 86842cf539 user: olr tags: trunk, fr
12:01
[fr] fix regex check-in: 6d1910463f user: olr tags: trunk, fr
Changes

Modified gc_lang/fr/rules.grx from [09c1c478f3] to [548a4d5133].

1643
1644
1645
1646
1647
1648
1649


1650
1651
1652
1653
1654
1655
1656
__<s>(p_exposants)__
    [¹²³⁴⁵⁶⁷⁸⁹⁰]+
    <<- ~>> *

__[i](p_références_aux_notes)__
    ({w_2})(\d+)  @@0,$
    <<- not morph(\0, ":") and morph(\1, ":") ~2>> *




!!!! Traits d’union                                                                               !!

__[i]/tu(tu_trait_union_douteux)__
    ({w1})(?:--|—|–|−|⁃)({w1})  @@0,$
    <<- spell(\1+"-"+\2) and analyse(\1+"-"+\2, ":") ->> \1-\2                                      # Trait d’union : un tiret simple suffit.







>
>







1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
__<s>(p_exposants)__
    [¹²³⁴⁵⁶⁷⁸⁹⁰]+
    <<- ~>> *

__[i](p_références_aux_notes)__
    ({w_2})(\d+)  @@0,$
    <<- not morph(\0, ":") and morph(\1, ":") ~2>> *

TEST: POLITIQUESOCIÉTÉÉCONOMIEMONDECULTUREART DE VIVREMAGAZINE (qui peut faire boguer JavaScript avec certaines regex)


!!!! Traits d’union                                                                               !!

__[i]/tu(tu_trait_union_douteux)__
    ({w1})(?:--|—|–|−|⁃)({w1})  @@0,$
    <<- spell(\1+"-"+\2) and analyse(\1+"-"+\2, ":") ->> \1-\2                                      # Trait d’union : un tiret simple suffit.