Grammalecte  Check-in [8448710ef4]

Overview
Comment:[fr] suggestions pour pronoms 3s oubliés
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | fr
Files: files | file ages | folders
SHA3-256: 8448710ef45939a3f7074dcf5b39faa4c161e18fa868aa2c7d47738d73bf1c3c
User & Date: olr on 2025-09-11 08:58:03
Other Links: manifest | tags
Context
2025-09-11
08:59
[fr] mise à jour du dictionnaire check-in: e7c847b869 user: olr tags: trunk, fr
08:58
[fr] suggestions pour pronoms 3s oubliés check-in: 8448710ef4 user: olr tags: trunk, fr
08:53
[fr] faux positifs et ajustements check-in: 681ec7df5e user: olr tags: trunk, fr
Changes

Modified gc_lang/fr/modules-js/gce_suggestions.js from [151736e5ff] to [892d5de9c2].

218
219
220
221
222
223
224
225


226
227
228
229
230
231
232
218
219
220
221
222
223
224

225
226
227
228
229
230
231
232
233







-
+
+








function suggVerbInfi (sFlex) {
    return gc_engine.oSpellChecker.getLemma(sFlex).filter(sStem => conj.isVerb(sStem)).join("|");
}


const _dQuiEst = new Map ([
    ["je", ":1s"], ["j’", ":1s"], ["tu", ":2s"], ["il", ":3s"], ["on", ":3s"], ["elle", ":3s"], ["iel", ":3s"],
    ["je", ":1s"], ["j’", ":1s"], ["tu", ":2s"],
    ["il", ":3s"], ["on", ":3s"], ["elle", ":3s"], ["iel", ":3s"], ["ce", ":3s"], ["ça", ":3s"], ["cela", ":3s"], ["ceci", ":3s"],
    ["nous", ":1p"], ["vous", ":2p"], ["ils", ":3p"], ["elles", ":3p"], ["iels", ":3p"]
]);

const _dModeSugg = new Map([ ["es", "aies"], ["aies", "es"], ["est", "ait"], ["ait", "est"] ]);

function suggVerbMode (sFlex, cMode, sSuj) {
    let lMode;

Modified gc_lang/fr/modules/gce_suggestions.py from [9dada763ac] to [5a4efccbe8].

167
168
169
170
171
172
173
174


175
176
177
178
179
180
181
167
168
169
170
171
172
173

174
175
176
177
178
179
180
181
182







-
+
+









def suggVerbInfi (sFlex):
    "returns infinitive forms of <sFlex>"
    return "|".join([ sStem  for sStem in _oSpellChecker.getLemma(sFlex)  if conj.isVerb(sStem) ])


_dQuiEst = { "je": ":1s", "j’": ":1s", "tu": ":2s", "il": ":3s", "on": ":3s", "elle": ":3s", "iel": ":3s", \
_dQuiEst = { "je": ":1s", "j’": ":1s", "tu": ":2s", \
             "il": ":3s", "on": ":3s", "elle": ":3s", "iel": ":3s", "ce": ":3s", "ça": ":3s", "cela": ":3s", "ceci": ":3s", \
             "nous": ":1p", "vous": ":2p", "ils": ":3p", "elles": ":3p", "iels": ":3p" }

_dModeSugg = { "es": "aies", "aies": "es", "est": "ait", "ait": "est" }

def suggVerbMode (sFlex, cMode, sSuj):
    "returns other conjugations of <sFlex> acconding to <cMode> and <sSuj>"
    if cMode == ":I":

Modified gc_lang/fr/modules/tests_modules.py from [aa5034cf77] to [4ad642ab21].

65
66
67
68
69
70
71


72
73
74
75
76
77
78
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80







+
+







            ("ditirembique", "dithyrambique"),
            ("jai", "j’ai"),
            ("email", "courriel"),
            ("fatiqué", "fatigué"),
            ("coeur", "cœur"),
            ("trèèèèèèèèès", "très"),
            ("vraaaaiiiimeeeeennnt", "vraiment"),
            ("oeil", "œil"),
            ("Oeil", "Œil"),
            ("apele", "appel"),
            ("Co2", "CO₂"),
            ("emmppâiiiller", "empailler"),
            ("testt", "test"),
            ("apelaion", "appellation"),
            ("exsepttion", "exception"),
            ("sintaxik", "syntaxique"),