你当前正在访问 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