Debian Codegraph @

locale/fr/gender-neutral.dic

raw
1 # Copyright (C) 2020-2022, 2024 Samuel Thibault <[email protected]>
2 #
3 # This program is free software; you can redistribute it and/or modify it under
4 # the terms of the GNU General Public License as published by the Free Software
5 # Foundation; either version 2 of the License, or (at your option) any later
6 # version.
7 #
8 # This program is distributed in the hope that it will be useful, but WITHOUT ANY
9 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
10 # PARTICULAR PURPOSE. See the GNU General Public License for more details (file
11 # COPYING in the root directory).
12 #
13 # You should have received a copy of the GNU General Public License
14 # along with this program. If not, see <https://www.gnu.org/licenses/>.
15
16 complexSymbols:
17 # Pattern matching first:
18 # match name\tperl regexp to be matched
19
20 # Note: we separate out the plural case because we want to catch all of its
21 # marks, and keep one only
22 #
23 # Always make sure to match a letter after matching ·, to avoid matching . at
24 # end of sentences.
25
26
27 # Référence: Bescherelle Hatier 1997, Grammaire, article 50
28
29 # petit(e)s
30 end-words (e) (?<=[^\W_])[(][eE][)]?(?=\b)
31 # petits·es
32 end-words es (?<=[^\W_])[sS]?[.·•∙‧⋅‐‑-][eE][.·•∙‧⋅‐‑-]?[sS](?=\b)
33 # petit·e
34 end-words e (?<=[^\W_])[.·•∙‧⋅‐‑-][eE](?=\b)
35
36 # bons·nnes
37 end-words nes (?<=[^\W_][nN])[sS]?[.·•∙‧⋅‐‑-][nN]?[nN][eE][.·•∙‧⋅‐‑-]?[sS](?=\b)
38 # bon·nne
39 end-words ne (?<=[^\W_][nN])[.·•∙‧⋅‐‑-][nN]?[nN][eE](?=\b)
40
41 # cruels·lles
42 end-words les (?<=[^\W_][lL])[sS]?[.·•∙‧⋅‐‑-][lL]?[lL][eE][.·•∙‧⋅‐‑-]?[sS](?=\b)
43 # cruel·lle
44 end-words le (?<=[^\W_][lL])[.·•∙‧⋅‐‑-][lL]?[lL][eE](?=\b)
45
46 # coquets·tes
47 end-words tes (?<=[^\W_][tT])[sS]?[.·•∙‧⋅‐‑-][tT]?[tT][eE][.·•∙‧⋅‐‑-]?[sS](?=\b)
48 # coquet·te
49 end-words te (?<=[^\W_][tT])[.·•∙‧⋅‐‑-][tT]?[tT][eE](?=\b)
50
51 # bas·ses
52 end-words ses (?<=[^\W_][sS])[.·•∙‧⋅‐‑-][sS]?[sS][eE][.·•∙‧⋅‐‑-]?[sS](?=\b)
53 # bas·se
54 end-words se (?<=[^\W_][sS])[.·•∙‧⋅‐‑-][sS]?[sS][eE](?=\b)
55
56 # nerveux·ses
57 end-words uxses (?<=[^\W_][uU])[xX]?[.·•∙‧⋅‐‑-][sS][eE][.·•∙‧⋅‐‑-]?[sS](?=\b)
58 # nerveux·se
59 end-words uxse (?<=[^\W_][uU])[xX]?[.·•∙‧⋅‐‑-][sS][eE](?=\b)
60 # doux·ces
61 end-words xces (?<=[^\W_][uU])[xX]?[.·•∙‧⋅‐‑-][cC][eE][.·•∙‧⋅‐‑-]?[sS](?=\b)
62 # doux·ce
63 end-words xce (?<=[^\W_][uU])[xX]?[.·•∙‧⋅‐‑-][cC][eE](?=\b)
64
65 # légers·ères
66 end-words ères (?<=[^\W_][eEèÈE][rR])[sS]?[.·•∙‧⋅‐‑-][èÈE]?[rR]?[eE][.·•∙‧⋅‐‑-]?[sS](?=\b)
67 # léger·ère
68 end-words ère (?<=[^\W_][eEèÈE][rR])[.·•∙‧⋅‐‑-][èÈE]?[rR]?[eE](?=\b)
69 # léger·e
70 end-words ere (?<=[^\W_][eEèÈE][rR])[.·•∙‧⋅‐‑-][eE](?=\b)
71
72 # neufs·ves
73 end-words ives (?<=[^\W_][fF])[sS]?[.·•∙‧⋅‐‑-][iI]?[vV][eE][.·•∙‧⋅‐‑-]?[sS](?=\b)
74 # neuf·ve
75 end-words ive (?<=[^\W_][fF])[.·•∙‧⋅‐‑-][iI]?[vV][eE](?=\b)
76
77 # beaux·elles nouveaux·elles·
78 end-words elles (?<=[^\W_][eE][aA][uU])[xX]?[.·•∙‧⋅‐‑-][bB]?[eE]?[lL][lL][eE][.·•∙‧⋅‐‑-]?[sS](?=\b)
79 # beau·elle nouveau·elle
80 end-words elle (?<=[^\W_][eE][aA][uU])[.·•∙‧⋅‐‑-][bB]?[eE]?[lL][lL][eE](?=\b)
81
82 # foux·folles
83 end-words folles (?<=\b[fF][oO][uU])[xX]?[.·•∙‧⋅‐‑-][fF]?[oO]?[lL][lL][eE][.·•∙‧⋅‐‑-]?[sS](?=\b)
84 # fou·folle
85 end-words folle (?<=\b[fF][oO][uU])[.·•∙‧⋅‐‑-][fF]?[oO]?[lL][lL][eE](?=\b)
86
87 # mous·molles
88 end-words molles (?<=\b[mM][oO][uU])[sS]?[.·•∙‧⋅‐‑-][mM]?[oO]?[lL][lL][eE][.·•∙‧⋅‐‑-]?[sS](?=\b)
89 # mou·molle
90 end-words molle (?<=\b[mM][oO][uU])[.·•∙‧⋅‐‑-][mM]?[oO]?[lL][lL][eE](?=\b)
91
92 # vieux·vieilles
93 end-words vieilles (?<=\b[vV][iI][eE][uU][xX])[.·•∙‧⋅‐‑-][vV]?[iI]?[eE]?[iI][lL][lL][eE][.·•∙‧⋅‐‑-]?[sS](?=\b)
94 # vieux·vieille
95 end-words vieille (?<=\b[vV][iI][eE][uU][xX])[.·•∙‧⋅‐‑-][vV]?[iI]?[eE]?[iI][lL][lL][eE](?=\b)
96
97 # francs·ches
98 end-words ches (?<=[^\W_][cC])[sS]?[.·•∙‧⋅‐‑-][cC]?[hH][eE][.·•∙‧⋅‐‑-]?[sS](?=\b)
99 # franc·che
100 end-words che (?<=[^\W_][cC])[.·•∙‧⋅‐‑-][cC]?[hH][eE](?=\b)
101
102 # francs·ques
103 end-words ques (?<=[^\W_][cC])[sS]?[.·•∙‧⋅‐‑-][qQ][uU][eE][.·•∙‧⋅‐‑-]?[sS](?=\b)
104 # franc·que
105 end-words que (?<=[^\W_][cC])[.·•∙‧⋅‐‑-][qQ]?[uU][eE](?=\b)
106
107
108 # Noms
109
110 # auteurs·trices
111 end-words trices (?<=[^\W_])[sS]?[.·•∙‧⋅‐‑-][tT]?[rR]?[iI][cC][eE][.·•∙‧⋅‐‑-]?[sS](?=\b)
112 # auteur·trice
113 end-words trice (?<=[^\W_])[.·•∙‧⋅‐‑-][tT]?[rR]?[iI][cC][eE](?=\b)
114
115 # chercheurs·ses
116 end-words euses (?<=[^\W_])[sS]?[.·•∙‧⋅‐‑-][eE][uU][sS][eE][.·•∙‧⋅‐‑-]?[sS](?=\b)
117 # chercheur·se
118 end-words euse (?<=[^\W_])[.·•∙‧⋅‐‑-][eE][uU][sS][eE](?=\b)
119
120 # chefs·fes
121 end-words fes (?<=[^\W_][fF])[sS]?[.·•∙‧⋅‐‑-][fF][eE][.·•∙‧⋅‐‑-]?[sS](?=\b)
122 # chef·fe
123 end-words fe (?<=[^\W_][fF])[.·•∙‧⋅‐‑-][fF][eE](?=\b)
124
125 # tous·tes
126 end-words stes (?<=[^\W_][sS])[.·•∙‧⋅‐‑-][tT][eE][.·•∙‧⋅‐‑-]?[sS](?=\b)
127
128 # ce·cette
129 end-words cette1 (?<=\b[cC][eE])[.·•∙‧⋅‐‑-][cC]?[eE]?[tT][tT][eE](?=\b)
130 end-words cette2 (?<=\b[cC][eE][tT])[.·•∙‧⋅‐‑-][cC]?[eE]?[tT][tT][eE](?=\b)
131
132 # le·la
133 word le (?<=\b)[lL][eE][/.·•∙‧⋅‐‑-][lL]?[aA](?=\b)
134
135
136 # As last resort, when it's inside a word just drop it and hope for the best
137 # Intentionally *not* putting . and - here of course :)
138 dot-fallback (?<=[^\W_])[·⋅‧‐‑](?=[^\W_])
139
140 symbols:
141 # Replacement:
142 # match name\treplacement\tnone\tliteral
143 #
144 # none makes the rule always apply independently of the punctuation level
145 # literal avoids introducing spurious spaces
146
147 end-words (e) none literal
148 end-words es s none literal
149 end-words e none literal
150
151 end-words nes s none literal
152 end-words ne none literal
153
154 end-words les s none literal
155 end-words le none literal
156
157 end-words tes s none literal
158 end-words te none literal
159
160 end-words ses s none literal
161 end-words se none literal
162
163 end-words uxses x none literal
164 end-words uxse x none literal
165 end-words xces x none literal
166 end-words xce x none literal
167
168 end-words ères s none literal
169 end-words ère none literal
170 end-words ere none literal
171
172 end-words ives s none literal
173 end-words ive none literal
174
175 end-words elles x none literal
176 end-words elle none literal
177
178 end-words folles x none literal
179 end-words folle none literal
180
181 end-words molles x none literal
182 end-words molle none literal
183
184 end-words vieilles none literal
185 end-words vieille none literal
186
187 end-words ches s none literal
188 end-words che none literal
189
190 end-words ques s none literal
191 end-words que none literal
192
193
194 end-words trices s none literal
195 end-words trice none literal
196
197 end-words euses s none literal
198 end-words euse none literal
199
200 end-words fes s none literal
201 end-words fe none literal
202
203 end-words stes none literal
204
205 end-words cette1 none literal
206 end-words cette2 none literal
207
208 word le le none literal
209
210 dot-fallback none literal