共用方式為


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