get_date_features

lexnlp.extract.en.dates.get_date_features(text, start_index, end_index, include_bigrams=True, window=5, characters=None, norm=True)

Get features to use for classification of date as false positive. :param text: raw text around potential date :param start_index: date start index :param end_index: date end index :param include_bigrams: whether to include bigram/bicharacter features :param window: window around match :param characters: characters to use for feature generation, e.g., digits only, alpha only :param norm: whether to norm, i.e., transform to proportion :return: