你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Entity interface

标识为属于类型分类的实体的单词或短语。 文本分析服务识别的类别集在 https://docs.microsoft.com/azure/cognitive-services/Text-Analytics/named-entity-types 中介绍。

属性

category

实体类型。

confidenceScore

提取实体的 0 到 1 之间的置信度分数。

length

实体文本的长度。 使用不同的“stringIndexType”值可能会影响返回的长度。

offset

实体文本的起始位置。 使用不同的“stringIndexType”值可能会影响返回的偏移量。

subCategory

(可选)实体子类型。

text

请求中显示的实体文本。

属性详细信息

category

实体类型。

category: string

属性值

string

confidenceScore

提取实体的 0 到 1 之间的置信度分数。

confidenceScore: number

属性值

number

length

实体文本的长度。 使用不同的“stringIndexType”值可能会影响返回的长度。

length: number

属性值

number

offset

实体文本的起始位置。 使用不同的“stringIndexType”值可能会影响返回的偏移量。

offset: number

属性值

number

subCategory

(可选)实体子类型。

subCategory?: string

属性值

string

text

请求中显示的实体文本。

text: string

属性值

string