1.3.1 • Published 9 months ago

@microsoft/recognizers-text-data-types-timex-expression v1.3.1

Weekly downloads
12,694
License
MIT
Repository
github
Last release
9 months ago

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, and German. Partial support for Dutch, Japanese, Korean, Italian, and Turkish. 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, Italian, Japanese, Korean, and Turkish. 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 TypeENZH-CNNLFRDEITJAKOPTES
Number (cardinal)
OrdinalSO
PercentageSO
Number RangePA:x::x:PA:x::x::x:PA
Unit - AgeSO
Unit - CurrencySP
Unit - Dimensions:x:SP
Unit - Temperature:x:SP
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)PASPSP
Entity TypeSVBGTRHIAR
Number (cardinal):x:SO:x:
Ordinal:x:SO:x:
Percentage:x:SO:x:
Number Range:x::x:SO:x::x:
Unit - Age:x::x:SO:x:
Unit - Currency:x::x:SO:x:
Unit - Dimensions:x::x:SO:x:
Unit - Temperature:x::x:SO: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):x::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.