get_entity_id

lexnlp.extract.en.dict_entities.get_entity_id(entity: typing.Tuple[int, str, int, typing.List[typing.Tuple]]) → int

Get id of the entity. This method is just for more comfortable development - to avoid accessing properties of entities by their indexes. :param entity: :return: