operators.candidates.extractor.DocEntityDictSpanFeaturizer
- class operators.candidates.extractor.DocEntityDictSpanFeaturizer(entity_dict_path, doc_entity_dict_path, field, ignore_case=False, link_entities=True, col_suffix=None)
(Optimized for keyword aliases) SpanFeaturizer that yields (and optionally links) spans, given an entity-to-aliases dictionary and doc-id-to-entity dictionary.