Grammalecte  Check-in [58098eb682]

Overview
Comment:[fr][bug] trunk broken
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | fr
Files: files | file ages | folders
SHA3-256: 58098eb68268d4f200e4ed042b6d4e5e78a7b3eb53f9827fc27126c00fd07bfe
User & Date: olr on 2017-06-27 19:45:58
Other Links: manifest | tags
Context
2017-06-27
20:04
[fr] màj: suggestions des verbes check-in: 21957bde87 user: olr tags: trunk, fr
19:45
[fr][bug] trunk broken check-in: 58098eb682 user: olr tags: trunk, fr
16:40
[core] ibdawg: suggestion mechanism check-in: eaa97b4c18 user: olr tags: trunk, core
Changes

Modified gc_core/py/char_player.py from [c2e0510f91] to [5cd093adaf].

150
151
152
153
154
155
156
157

158
159
160
161
162
163

164
165
166
167
168
169
170
171



172
173
174
175
176
177
178
150
151
152
153
154
155
156

157
158
159
160
161
162

163
164
165
166
167
168



169
170
171
172
173
174
175
176
177
178







-
+





-
+





-
-
-
+
+
+







}


# End of word

dFinal1 = {
    "a": ("as", "at", "ant", "ah"),
    "c": ("ch",)
    "c": ("ch",),
    "e": ("et", "er", "ets", "ée", "ez", "ai", "ais", "ait", "ent", "eh"),
    "é": ("et", "er", "ets", "ée", "ez", "ai", "ais", "ait"),
    "è": ("et", "er", "ets", "ée", "ez", "ai", "ais", "ait"),
    "ê": ("et", "er", "ets", "ée", "ez", "ai", "ais", "ait"),
    "ë": ("et", "er", "ets", "ée", "ez", "ai", "ais", "ait"),
    "g": ("gh",)
    "g": ("gh",),
    "i": ("is", "it", "ie", "in"),
    "n": ("nt", "nd", "ns", "nh"),
    "o": ("aut", "ot", "os"),
    "ô": ("aut", "ot", "os"),
    "ö": ("aut", "ot", "os"),
    "p": ("ph",)
    "s": ("sh",)
    "t": ("th",)
    "p": ("ph",),
    "s": ("sh",),
    "t": ("th",),
    "u": ("ut", "us", "uh"),
}

dFinal2 = {
    "ai": ("aient", "ais", "et"),
    "an": ("ant", "ent"),
    "en": ("ent", "ant"),

Modified gc_lang/fr/rules.grx from [84f7e3f471] to [dfb591e07e].

7185
7186
7187
7188
7189
7190
7191
7192

7193
7194
7195

7196
7197
7198

7199
7200
7201

7202
7203
7204
7205
7206
7207














7208
7209
7210
7211
7212
7213
7214
7185
7186
7187
7188
7189
7190
7191

7192
7193
7194

7195
7196
7197

7198
7199
7200

7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228







-
+


-
+


-
+


-
+






+
+
+
+
+
+
+
+
+
+
+
+
+
+







TEST: cette {{bête}}-{{la}}
TEST: il ne {{là}} croit pas.


# la / l’a
__[i]/conf(conf_il_elle_on_la_vconj)__
    (?:il|elle|on) (?:nous |vous |)(l’a) +([bcdfghjklmnpqrstvwxz][\w-]+)  @@w,$
    <<- morphex(\2, ":[123][sp]", ":[GQ]") -1>> la                                                  # Confusion probable. Pour un pronom objet féminin, écrivez :
    <<- morphex(\2, ":[123][sp]", ":[GQ]") -1>> la                                                  # Confusion probable. Pour un pronom objet féminin, écrivez “la”.
__[i]/conf(conf_ne_la_vconj)__
    ne (?:nous |vous |)(l’a) +([bcdfghjklmnpqrstvwxz][\w-]+) @@w,$
    <<- morphex(\2, ":[123][sp]", ":[GQ]") -1>> la                                                  # Confusion probable. Pour un pronom objet féminin, écrivez :
    <<- morphex(\2, ":[123][sp]", ":[GQ]") -1>> la                                                  # Confusion probable. Pour un pronom objet féminin, écrivez “la”.
__[i]/conf(conf_ne_la_lui_leur)__
    ne (l’a) l(?:ui|eur)  @@3
    <<- -1>> la                                                                                     # Confusion probable. Pour un pronom objet féminin, écrivez :
    <<- -1>> la                                                                                     # Confusion probable. Pour un pronom objet féminin, écrivez “la”.
__[i]/conf(conf_me_se_se_la_vconj)__
    [mts]e (l’a) +([bcdfghjklmnpqrstvwxz][\w-]+)  @@3,$
    <<- morphex(\2, ":[123][sp]", ":[GQ]") -1>> la                                                  # Confusion probable. Pour un pronom objet féminin, écrivez :
    <<- morphex(\2, ":[123][sp]", ":[GQ]") -1>> la                                                  # Confusion probable. Pour un pronom objet féminin, écrivez “la”.

TEST: on {{l’a}} {{prit}} pour une idiote.
TEST: il ne {{l’a}} {{connaît}} pas.
TEST: elle ne {{l’a}} leur donne pas sans condition.
TEST: elle se {{l’a}} {{réserve}} pour elle-même.

__[i]/conf(conf_il_elle_on_l_a)__
    (?:il|elle|on) (?:vous |nous |)(la) +({w_2}) @@w,$
    <<- morphex(\2, ":Q", ":(?:[123][sp]|V[123]......e)|>lui ") -1>> l’a                            # Confusion probable : “\2” est un participe passé. Il faut donc employer l’auxiliaire “avoir”.
__[i]/conf(conf_ne_l_a)__
    ne (?:vous |nous |)(la) +({w_2}) @@w,$
    <<- morphex(\2, ":Q", ":(?:[123][sp]|V[123]......e)|>lui ") -1>> l’a                            # Confusion probable : “\2” est un participe passé. Il faut donc employer l’auxiliaire “avoir”.
__[i]/conf(conf_me_te_l_a)__
    [mt]e (la) +({w_2})  @@w,$
    <<- morphex(\2, ":Q", ":(?:[123][sp]|V[123]......e)|>lui ") -1>> l’a                            # Confusion probable : “\2” est un participe passé. Il faut donc employer l’auxiliaire “avoir”.

TEST: il {{la}} {{donnée}}.
TEST: ne {{la}} {{donné}} que contraint et forcé…
TEST: celle-là, tu {{la}} commandée comment ?


# laissez-passer / laissez-faire
__[i]/conf(conf_laisser_passer)__
    laisser-passer <<- ->> laissez-passer                                                 # Confusion.
__[i]/conf(conf_laisser_aller)__
    laissez-(aller|faire) @@8 <<- ->> laisser-\1                                          # Confusion.