Differences From Artifact [85224c07b2]:
- File gc_lang/fr/oxt/DictOptions/LexiconEditor.py — part of check-in [819d3a016f] at 2018-03-27 16:13:14 on branch multid — [lo] lexicon editor: search within personal dictionary (user: olr, size: 32756) [annotate] [blame] [check-ins using]
To Artifact [fa7335a6fb]:
- File gc_lang/fr/oxt/DictOptions/LexiconEditor.py — part of check-in [11a83392a7] at 2018-03-27 16:51:42 on branch multid — [fx][tb][lo] lexical editor: tag p and q for verb generation (user: olr, size: 32895) [annotate] [blame] [check-ins using]
| ︙ | |||
458 459 460 461 462 463 464 465 466 467 468 469 470 471 | 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 | + + |
c_t = "t" if self.xV_t.State else "_"
c_n = "n" if self.xV_n.State else "_"
c_p = "p" if self.xV_p.State else "_"
c_m = "m" if self.xV_m.State else "_"
c_ae = "e" if self.xV_ae.State else "_"
c_aa = "a" if self.xV_aa.State else "_"
sVerbTag = c_i + c_t + c_n + c_p + c_m + c_ae + c_aa
if "p" in sVerbTag and not sVerbTag.startswith("___p_"):
sVerbTag = sVerbTag.replace("p", "q")
if not sVerbTag.endswith("__") and not sVerbTag.startswith("____"):
sVerbPattern = self.xVpattern.Text.strip()
if not sVerbPattern:
# Utilisation du générateur de conjugaison
for sFlexion, sFlexTags in conjgen.conjugate(self.sLemma, sVerbTag, not bool(self.xV_pp.State)):
self.lGeneratedFlex.append((sFlexion, sFlexTags))
else:
|
| ︙ |