You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The nerds.core.model.ner.dictionary.ExactMatchDictionaryNER class allows tagging against a single class. The constructor forces us to specify a path to the dictionary file and a class label. This is most likely driven by the misconception that the pyahocorasick module can only support a single class at a time, which is incorrect.
Proposal here is to build an additional nerds.core.model.ner.dictionary.ExactMatchMultiClassDictionaryNER implementation that can handle dictionary lookup against multiple entity classes.