Home

Awesome

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, Hindi, and Dutch. Partial support for Japanese, Korean, Arabic, and Swedish. More on the way.

Utilizing the Project

Microsoft.Recognizers.Text powers pre-built entities in LUIS: Language Understanding Intelligent Service, Power Virtual Agents, 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 Japanese, Korean, Arabic, Swedish, and others! More info below.

.NET is the primary package version and contributions propagate to the other platforms with time.

Citing the Recognizers-Text project

If you utilize the recognizers in academic works, please cite it as below (you can omit the version number or update it to a specific version if relevant):

@software{soft:recognizers-text,
  author    = {Wenhao Huang and Zijia Lin and Chris McConnell and B{\"{o}}rje F. Karlsson},
  title     = {{Recognizers-Text}: {R}ecognition and resolution of numbers, units, and date/time entities expressed across multiple languages},
  month     = jul,
  year      = 2017,
  publisher = {Zenodo},
  version   = {1.0.0},
  doi       = {10.5281/zenodo.6860598},
  url       = {https://doi.org/10.5281/zenodo.6860598}
}

Feel free to change "@software" to "@misc" if it better fits your templates.

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 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 TypeENZH-CNNLFRDEITJAKOPTES
Number (cardinal)
Ordinal
Percentage
Number RangePA/EO
Unit - AgePA/EO
Unit - CurrencyPA/EO
Unit - DimensionsPA/EO
Unit - Temperature
Choice - BooleanSO
Seq. - E-mailGG*GGGGG*G*GG
Seq. - GUIDGGGGGGGGGG
Seq. - SocialGGGGGGGGGG
Seq. - IP AddressGGGGGGGGGG
Seq. - Phone NumberGGGGGGGGGG
Seq. - URLGG*GGGGG*G*GG
DateTime (+subtypes)SO
Entity TypeSVBGTRHIAR
Number (cardinal):x:PA/EO
Ordinal:x:PA/EO
Percentage:x:PA/EO
Number Range:x::x:PA/EO
Unit - Age:x::x:
Unit - Currency:x::x:
Unit - Dimensions:x::x:
Unit - Temperature:x::x:
Choice - Boolean
Seq. - E-mailGGGGG
Seq. - GUIDGGGGG
Seq. - SocialGGGGG
Seq. - IP AddressGGGGG
Seq. - Phone Number:x::x::x::x::x:
Seq. - URLGGGG*G*
DateTime (+subtypes)SP:x:SO