self.parametres['encoding'] = self.ira.syscoding
self.t1 = time()
self.corpus.make_lems(lem = self.parametres['lem'])
- corpus.parse_active(gramact, gramsup)
+ self.corpus.parse_active(gramact, gramsup)
result_analyse = self.doanalyse()
if result_analyse is None :
self.time = time() - self.t1
self.lems[lem].act = 2
elif self.lems[lem].gram in gramact :
self.lems[lem].act = 1
- elif gramsup is not None :
+ elif gramsup is not None and self.lems[lem].gram not in gramact:
if self.lems[lem].gram in gramsup :
self.lems[lem].act = 2
else :