Recognizers-Text is a Microsoft-maintained NLP library for recognizing and normalizing numbers, units, date/time, phone numbers, emails, and URLs from unstructured text. It supports multiple languages (English, Spanish, French, Chinese, Japanese, and more) via separate per-culture packages. The Python package is at version 1.0.2a2 (alpha) and lags behind the .NET and JavaScript releases (v1.8.x). Releases are irregular.
pip install recognizers-textNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Recognizes a date from an English sentence and prints the recognition result.
If you need the latest recognizers, use the .NET or JavaScript libraries instead.
Use 'from recognizers_text import recognize_number, recognize_datetime, ...'.
Always use Culture attributes. Example: Culture.English.
Install with extra: pip install recognizers-text[datatypes-timex-expression]
if not results: # handle no match
Use 'import recognizers_text' (all lowercase, underscore).