Recognizers-Text

Microsoft.Recognizers.Text provides recognition and resolution of numbers, units, and date/time expressed in multiple languages (CN, EN, FR, ES, PT, DE. Partial support for NL, JA, KO). Contributions are greatly welcome! Packages are available at https://www.nuget.org/profiles/Recognizers.Text and https://www.npmjs.com/~recognizers.text

Github stars Tracking Chart

Microsoft Recognizers Text Overview

Build Status
Build Status

Microsoft.Recognizers.Text provides robust recognition and resolution of entities like numbers, units, and date/time; expressed in multiple languages. Full support for Chinese, English, French, Spanish, Portuguese, German, Italian, Turkish, and Hindi. Partial support for Dutch, Japanese, Korean, and Swedish. More on the way.

Utilizing the Project

Microsoft.Recognizers.Text powers pre-built entities in both LUIS: Language Understanding Intelligent Service and Microsoft Bot Framework; base entity types in Text Analytics Cognitive Service; and it is also available as standalone packages (for the base classes and the different entity recognizers).

The Microsoft.Recognizers.Text packages currently target four platforms:

Contributions are greatly welcome! Both for fixes and extensions in the currently supported languages and for expansion to new ones.
Especially for Dutch, Japanese, Korean, Hindi, and others! More info below.

Help

If you have any questions, please go ahead and open an issue, even if it's not an actual bug. Issues are an acceptable discussion forum as well.

Contributing

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Good starting points for contribution are:

  • the list of open issues (especially those marked as help wanted);
  • the json spec cases temporarily marked as NotSupported (Specs); and
  • translating json test spec cases that work in English, but don't yet exist in a target language.

The links below describe the project structure and provide both an overview and tips on how to contribute (although some steps may have become a little out-of-date). Thank you!

Supported Entities across Cultures

The table below summarizes the currently supported entities. Support for English is usually more complete than others. The primary platform is .NET (shown in table) and support should propagate to the others., Entity Type, EN, ZH-CN, NL, FR, DE, IT, JA, KO, PT, ES, :-----------------:, :-------:, :-------:, :-----:, :------:, :-----:, :-------:, :------:, :------:, :------:, :-------:, Number (cardinal), ✓, ✓, ✓, ✓, ✓, ✓, ✓, ✓, ✓, ✓, Ordinal, ✓, ✓, ✓, ✓, ✓, ✓, ✓, SO, ✓, ✓, Percentage, ✓, ✓, ✓, ✓, ✓, ✓, ✓, SO, ✓, ✓, Number Range, ✓, ✓, PA, :x:, :x:, PA, :x:, :x:, :x:, PA, Unit - Age, ✓, ✓, ✓, ✓, ✓, ✓, ✓, SO, ✓, ✓, Unit - Currency, ✓, ✓, ✓, ✓, ✓, ✓, ✓, SP, ✓, ✓, Unit - Dimensions, ✓, ✓, ✓, ✓, ✓, ✓, :x:, SP, ✓, ✓, Unit - Temperature, ✓, ✓, ✓, ✓, ✓, ✓, :x:, SP, ✓, ✓, Choice - Boolean, ✓, ✓, ✓, ✓, ✓, ✓, ✓, SO, ✓, ✓, Seq. - E-mail, G, G*, G, G, G, G, G*, G*, G, G, Seq. - GUID, G, G, G, G, G, G, G, G, G, G, Seq. - Social, G, G, G, G, G, G, G, G, G, G, Seq. - IP Address, G, G, G, G, G, G, G, G, G, G, Seq. - Phone Number, G, G, G, G, G, G, G, G, G, G, Seq. - URL, G, G*, G, G, G, G, G*, G*, G, G, DateTime (+subtypes), ✓, ✓, PA, ✓, ✓, ✓, SP, SP, ✓, ✓, Entity Type, SV, BG, TR, HI, AR, :-----------------:, :-------:, :-------:, :-----:, :------:, :-----:, :-------:, :------:, :------:, :------:, :-------:, Number (cardinal), ✓, :x:, ✓, ✓, :x:, Ordinal, ✓, :x:, ✓, ✓, :x:, Percentage, ✓, :x:, ✓, ✓, :x:, Number Range, :x:, :x:, ✓, :x:, :x:, Unit - Age, :x:, :x:, ✓, ✓, :x:, Unit - Currency, :x:, :x:, ✓, ✓, :x:, Unit - Dimensions, :x:, :x:, ✓, ✓, :x:, Unit - Temperature, :x:, :x:, ✓, ✓, :x:, Choice - Boolean, ✓, ✓, ✓, ✓, ✓, Seq. - E-mail, G, G, G, G, G, Seq. - GUID, G, G, G, G, G, Seq. - Social, G, G, G, G, G, Seq. - IP Address, G, G, G, G, G, Seq. - Phone Number, :x:, :x:, :x:, :x:, :x:, Seq. - URL, G, G, G, G*, G*, DateTime (+subtypes), :x:, :x:, ✓, ✓, :x:, * G: Generic entity, not language-specific (* unicode TLDs not-supported);

  • PA: Partial support;
  • SO: Specs-only;
  • SP: Partial specs;
  • SI: Very initial specs.

Main metrics

Overview
Name With Ownermicrosoft/Recognizers-Text
Primary LanguageC#
Program languageC# (Language Count: 10)
Platform
License:MIT License
所有者活动
Created At2017-04-17 19:45:47
Pushed At2025-02-19 04:46:37
Last Commit At2025-02-12 10:38:46
Release Count64
Last Release Namedotnet-v1.8.12 (Posted on )
First Release Namedotnet-v1.0.1 (Posted on 2018-03-13 11:18:33)
用户参与
Stargazers Count1.7k
Watchers Count64
Fork Count436
Commits Count2.1k
Has Issues Enabled
Issues Count911
Issue Open Count165
Pull Requests Count1969
Pull Requests Open Count46
Pull Requests Close Count220
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private