A spaCy extension for enhanced date and number entity recognition and extraction as structured data. Current version 0.0.1, early release.
pip install date-spacyNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic usage: load a spaCy model, add date_matcher pipe, process text and access ._.date attribute.
Ensure nlp is loaded (e.g., nlp = spacy.load('en_core_web_sm')) before calling nlp.add_pipe('date_matcher').Use the correct import: from date_spacy import DateMatcher
Add the pipe with config: nlp.add_pipe('date_matcher', config={'use_number_matcher': True})