conflicts_take_first_by_id¶
-
lexnlp.extract.en.dict_entities.
conflicts_take_first_by_id
()¶ Default conflict resolving function for dropping all entities detected at the same position excepting the one having the smallest id. To be used in find_dict_entities() method. :param conflicting_entities_aliases: list of (entity, alias) pairs :return: