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

EntityLabelObject interface

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

属性

children

示例话语中的标识实体。

endCharIndex

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

entityName

实体类型。

role

实体在话语中扮演的角色。

startCharIndex

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

属性详细信息

children

示例话语中的标识实体。

children?: EntityLabelObject[]

属性值

endCharIndex

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

endCharIndex: number

属性值

number

entityName

实体类型。

entityName: string

属性值

string

role

实体在话语中扮演的角色。

role?: string

属性值

string

startCharIndex

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

startCharIndex: number

属性值

number