Overview
| Comment: | [fr] copie de règles de trunk (compliqué de fusionner les branches) |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | fr | rg |
| Files: | files | file ages | folders |
| SHA3-256: |
d45024f9246291379f2251abd287bc71 |
| User & Date: | olr on 2018-06-29 10:20:26 |
| Other Links: | branch diff | manifest | tags |
Context
|
2018-06-29
| ||
| 15:24 | [fr] fix few bugs check-in: ad0bbbe88a user: olr tags: fr, rg | |
| 10:20 | [fr] copie de règles de trunk (compliqué de fusionner les branches) check-in: d45024f924 user: olr tags: fr, rg | |
| 09:54 | version 0.7 check-in: 783d38aef0 user: olr tags: rg | |
Changes
Modified gc_lang/fr/rules.grx from [eb08e53716] to [c04a10c3bc].
| ︙ | ︙ | |||
906 907 908 909 910 911 912 | !! !! !!!! Apostrophes !! !! !! ## Apostrophe typographique __[i>/apos(apostrophe_typographique)__ | | | | | 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 |
!!
!!
!!!! Apostrophes !!
!!
!!
## Apostrophe typographique
__[i>/apos(apostrophe_typographique)__
([ldsncjmç]|jusqu|lorsqu|aujourd|presqu|quelqu|puisqu|qu|prud|entr)['´‘′`ʼ](?=[\w"«]) @@0 <<- ->> \1’ # Apostrophe typographique.
__[i>/apos(apostrophe_typographique_après_t)__
t['´‘′`ʼ](?!ils?|elles?|on)(?=[\w"«]) <<- ->> t’ # Apostrophe typographique.
TEST: {{C'}}est l’apostrophe typographique qui manque. ->> C’
TEST: C’est {{l'}}apostrophe typographique qui manque. ->> l’
TEST: {{Aujourd'}}hui, je suis fatigué
TEST: Je pense {{qu`}}elle se trompe
TEST: Que {{t'}}arrive-t-il ?
__[i>/typo(typo_apostrophe_incorrecte)__
(([ldsncjmtç]|lorsqu|puisqu|presqu|quoiqu|quelqu|jusqu|qu|aujourd|entr)(?:[’'´‘′`ʼ][’'´‘′`ʼ ]|”|“|"| [’'´‘′`ʼ] ?))[aeéiouhœæyîèêôû] @@0,0
<<- not (\2.__len__() == 1 and \1.endswith("′ ")) -1>> \2’ # Apostrophe incorrecte.
TEST: {{C’ }}est rageant. ->> C’
TEST: {{Lorsqu’ }}il vient, on s’ennuie.
TEST: {{l’'}}électricien est parti
TEST: Je pense {{qu ` }}elle ne viendra pas.
|
| ︙ | ︙ | |||
2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 |
<<- =>> exclude(\1, ":V")
__[i](d_par_non_verbe)__
par +({w_3}) @@$
<<- =>> exclude(\1, ":V[123]")
__[i](d_très_non_verbe)__
très +({w_2}) @@$
<<- =>> exclude(\1, ":[123][sp]")
# divers
__[i](p_bac_plus_nombre)__
bac ?([+] ?\d\d?) @@$
<<- ~1>> *
<<- =>> define(\0, [":N:e:i"])
TEST: il s’agit d’{{un}} {{anagramme}}
TEST: nul ne sait qui arriva à ce pauvre Paul surpris par la pluie.
TEST: elle finit par être très fière de son fils.
!!
!!
!!!! OCR !!
| > > > > | 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 |
<<- =>> exclude(\1, ":V")
__[i](d_par_non_verbe)__
par +({w_3}) @@$
<<- =>> exclude(\1, ":V[123]")
__[i](d_très_non_verbe)__
très +({w_2}) @@$
<<- =>> exclude(\1, ":[123][sp]")
__[i](d_en_tant_que)__
en tant que +({w_2}) @@$
<<- =>> exclude(\1, ":[123][sp]")
# divers
__[i](p_bac_plus_nombre)__
bac ?([+] ?\d\d?) @@$
<<- ~1>> *
<<- =>> define(\0, [":N:e:i"])
TEST: il s’agit d’{{un}} {{anagramme}}
TEST: nul ne sait qui arriva à ce pauvre Paul surpris par la pluie.
TEST: elle finit par être très fière de son fils.
TEST: en tant que président du conseil
!!
!!
!!!! OCR !!
|
| ︙ | ︙ |