get_dates

lexnlp.extract.en.dates.get_dates(text: str, strict=False, base_date=None, return_source=False, threshold=0.5) → Generator

Find dates after cleaning false positives. :param text: raw text to search :param strict: whether to return only complete or strict matches :param base_date: base date to use for implied or partial matches :param return_source: whether to return raw text around date :param threshold: probability threshold to use for false positive classifier :return: