get_amounts¶
-
lexnlp.extract.en.amounts.
get_amounts
(text, return_sources=False, float_digits=4) → typing.Generator¶ Find possible amount references in the text. :param text: text :param return_sources: return amount AND source text :param float_digits: round float to N digits, don’t round if None :return: list of amounts