Share via


CategorizedEntity Struct

Definition

A word or phrase that was recognized as an entity and categorized accordingly by the service's named entity recognition model and taxonomy. For the list of supported categories and subcategories, see https://learn.microsoft.com/azure/cognitive-services/language-service/named-entity-recognition/concepts/named-entity-categories.

public readonly struct CategorizedEntity
type CategorizedEntity = struct
Public Structure CategorizedEntity
Inheritance
CategorizedEntity

Properties

Category

The category of the entity as recognized by the service's named entity recognition model. For the list of supported categories, see https://learn.microsoft.com/azure/cognitive-services/language-service/named-entity-recognition/concepts/named-entity-categories.

ConfidenceScore

The score between 0.0 and 1.0 indicating the confidence that the recognized entity accurately corresponds to the text substring.

Length

The length of the matching text in the input document.

Offset

The starting position of the matching text in the input document.

SubCategory

The subcategory of the entity (if applicable) as recognized by the service's named entity recognition model. For the list of supported categories and subcategories, see https://learn.microsoft.com/azure/cognitive-services/language-service/named-entity-recognition/concepts/named-entity-categories.

Text

The text corresponding to the recognized entity, as it appears in the input document.

Applies to