get_amounts

lexnlp.extract.en.amounts.get_amounts(text: str, return_sources=False, extended_sources=True, float_digits=4) → Generator[[float, None], None]

Find possible amount references in the text. :param text: text :param return_sources: return amount AND source text :param extended_sources: return data around amount itself :param float_digits: round float to N digits, don’t round if None :return: list of amounts