Entity interface
标识为属于类型分类的实体的单词或短语。 文本分析服务识别的类别集在 https://docs.microsoft.com/azure/cognitive-services/Text-Analytics/named-entity-types 中介绍。
属性
category | 实体类型。 |
confidence |
提取实体的 0 到 1 之间的置信度分数。 |
length | 实体文本的长度。 使用不同的“stringIndexType”值可能会影响返回的长度。 |
offset | 实体文本的起始位置。 使用不同的“stringIndexType”值可能会影响返回的偏移量。 |
sub |
(可选)实体子类型。 |
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