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

EntityLabel interface

定义提取实体在示例中的实体类型和位置。

属性

children
endTokenIndex

提取的实体结束的话语中的索引。

entityName

实体类型。

role

预测实体的角色。

roleId

预测实体的角色 ID。

startTokenIndex

提取的实体启动的话语中的索引。

属性详细信息

children

children?: EntityLabel[]

属性值

endTokenIndex

提取的实体结束的话语中的索引。

endTokenIndex: number

属性值

number

entityName

实体类型。

entityName: string

属性值

string

role

预测实体的角色。

role?: string

属性值

string

roleId

预测实体的角色 ID。

roleId?: string

属性值

string

startTokenIndex

提取的实体启动的话语中的索引。

startTokenIndex: number

属性值

number