-
Grzegorz Kostkowski authored
there was a need to reimplement `document_filter.py` module as some undesired behavior have been detected and current implementation did not allow to fix that: min length lemma filter has been applied to wsd token, which did not have much sense: If wsd correctly disambiguated certain token (e.g. "Łódź"), and entities in db have been found, there was no reason to exclude such links. Current implementation allows to specify type of token (annotation) for which certain filter should be applied. It also solves issue which raised, when one-time configuration has been introduced.
adb17b6a