conflicts_top_by_priority¶
-
lexnlp.extract.en.dict_entities.
conflicts_top_by_priority
()¶ 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: