LinkedEntityMatch Class

A match for the linked entity found in text. Provides the confidence score of the prediction and where the entity was found in the text.

New in version v3.1: The offset and length properties.

Inheritance
azure.ai.textanalytics._models.DictMixin
LinkedEntityMatch

Constructor

LinkedEntityMatch(**kwargs)

Variables

confidence_score
float

If a well-known item is recognized, a decimal number denoting the confidence level between 0 and 1 will be returned.

text
str

Entity text as appears in the request.

length
int

The linked entity match text length. This value depends on the value of the string_index_type parameter set in the original request, which is UnicodeCodePoints by default.

offset
int

The linked entity match text offset from the start of the document. The value depends on the value of the string_index_type parameter set in the original request, which is UnicodeCodePoints by default.