Overview
| Comment: | [fr] apposition: mot d’une lettre OK (correction) |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | fr | rg |
| Files: | files | file ages | folders |
| SHA3-256: |
9de2cb2d9f902f9e88974562e81c4fb8 |
| User & Date: | olr on 2018-07-28 13:59:35 |
| Other Links: | branch diff | manifest | tags |
Context
|
2018-07-28
| ||
| 14:00 | [fr] des +mot +mot: condition stricte pour le token précédent check-in: d7488dfd42 user: olr tags: fr, rg | |
| 13:59 | [fr] apposition: mot d’une lettre OK (correction) check-in: 9de2cb2d9f user: olr tags: fr, rg | |
| 13:55 | [fr] apposition: mot d’une lettre OK check-in: b7741f0eec user: olr tags: fr, rg | |
Changes
Modified gc_lang/fr/modules-js/gce_analyseur.js from [93476a1043] to [62ebd0a2ec].
| ︙ | ︙ | |||
29 30 31 32 33 34 35 |
return "elles";
}
return s1 + " et " + s2;
}
function apposition (sWord1, sWord2) {
// returns true if nom + nom (no agreement required)
| | | 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
return "elles";
}
return s1 + " et " + s2;
}
function apposition (sWord1, sWord2) {
// returns true if nom + nom (no agreement required)
return sWord2.length < 2 || (cregex.mbNomNotAdj(_oSpellChecker.getMorph(sWord2)) && cregex.mbPpasNomNotAdj(_oSpellChecker.getMorph(sWord1)));
}
function isAmbiguousNAV (sWord) {
// words which are nom|adj and verb are ambiguous (except être and avoir)
let lMorph = _oSpellChecker.getMorph(sWord);
if (lMorph.length === 0) {
return false;
|
| ︙ | ︙ |
Modified gc_lang/fr/modules/gce_analyseur.py from [45c2e61476] to [7ecf93be16].
| ︙ | ︙ | |||
30 31 32 33 34 35 36 |
# si épicène, indéterminable, mais OSEF, le féminin l’emporte
return "elles"
return s1 + " et " + s2
def apposition (sWord1, sWord2):
"returns True if nom + nom (no agreement required)"
| | | 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
# si épicène, indéterminable, mais OSEF, le féminin l’emporte
return "elles"
return s1 + " et " + s2
def apposition (sWord1, sWord2):
"returns True if nom + nom (no agreement required)"
return len(sWord2) < 2 or (cr.mbNomNotAdj(_oSpellChecker.getMorph(sWord2)) and cr.mbPpasNomNotAdj(_oSpellChecker.getMorph(sWord1)))
def isAmbiguousNAV (sWord):
"words which are nom|adj and verb are ambiguous (except être and avoir)"
lMorph = _oSpellChecker.getMorph(sWord)
if not cr.mbNomAdj(lMorph) or sWord == "est":
return False
|
| ︙ | ︙ |