I am getting the following warning during training the model: “UserWarning: Misaligned entity annotation in message…” and eventually entities are not recognized correctly.
The problem disappears when I do not use stopwords. It seems that entity alignement is compared to the alignement of the token after stopword removal or something similar. How can I override this problem? Is there some sort of configuration needed?
Thank you in advance, Konstantinos