Closed Jean-Baptiste-Camps closed 7 years ago
Ok, apparently it is because the Preprocessor.load does not include morph, and I don't see it being saved either. Did we loose those functionalities at some point ?
This is not a main issue fix but I have something to avoid this issue. This comes down to variable not being set to None before the if,
Looking at Preprocessor, it seems that the morph data is not persisted (I can't find a line like
self.morph_encoder.save()
as it's the case for lemma_encoder and pos_encoder.
Solved by #75 .
When trying to annotate new data, with a model that includes morphology (label or multilabel), I encounter the following error:
Ignoring the final exception, it seems that the parameter
include_morph
is not available at this point. I started looking, but do not find the problem for now.