lexnlp.extract.en.definitions.get_definitions(text: str, return_sources=False, decode_unicode=True, return_coords=False) → Generator

Find possible definitions in natural language in text. The text will be split to sentences first. :param return_coords: returns a (x, y) tuple in each record. x - definition’s text start, y - definition’s text end :param decode_unicode: :param return_sources: returns a tuple with the extracted term and the source sentence :param text: the input text :return: Generator[name] or Generator[name, text] or Generator[name, text, coords]