{"library":"recognizers-text","title":"Recognizers-Text","description":"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.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install recognizers-text","pip install recognizers-text[datatypes-timex-expression]"],"cli":null},"imports":["from recognizers_text import Culture","from recognizers_text import recognize_number","from recognizers_text import recognize_datetime","from recognizers_text import ModelResult"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from recognizers_text import Culture, recognize_datetime\n\n# Recognize dates in English text\nresults = recognize_datetime(\"I'll be there on 2025-06-15\", Culture.English)\nfor result in results:\n    print(f\"Text: {result.text}, Type: {result.type_name}, Resolution: {result.resolution}\")\n\n# Example output:\n# Text: 2025-06-15, Type: datetimeV2.date, Resolution: {'values': [{'timex': '2025-06-15', 'type': 'date', 'value': '2025-06-15'}]}","lang":"python","description":"Recognizes a date from an English sentence and prints the recognition result.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}