Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Entity

Package version

A word or phrase identified as an entity that is categorized within a taxonomy of types. The set of categories recognized by the Language service is described at https://docs.microsoft.com/azure/cognitive-services/language-service/named-entity-recognition/concepts/named-entity-categories .

Hierarchy

Index

Properties

category

category: string

Entity type.

confidenceScore

confidenceScore: number

Confidence score between 0 and 1 of the extracted entity.

length

length: number

Length for the entity text. Use of different 'stringIndexType' values can affect the length returned.

offset

offset: number

Start position for the entity text. Use of different 'stringIndexType' values can affect the offset returned.

Optional subCategory

subCategory: undefined | string

(Optional) Entity sub type.

text

text: string

Entity text as appears in the request.

Generated using TypeDoc