431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
|
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 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, bool(self.xV_pp.State)):
self.lGeneratedFlex.append((sFlexion, sFlexTags))
else:
# copie du motif d’un autre verbe : utilisation du conjugueur
if conj.isVerb(sVerbPattern):
oVerb = conj.Verb(self.sLemma, sVerbPattern)
for sTag1, dFlex in oVerb.dConj.items():
if sTag1 != ":Q":
|
|
|
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
|
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 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:
# copie du motif d’un autre verbe : utilisation du conjugueur
if conj.isVerb(sVerbPattern):
oVerb = conj.Verb(self.sLemma, sVerbPattern)
for sTag1, dFlex in oVerb.dConj.items():
if sTag1 != ":Q":
|