EntityLabel interface
Defines the entity type and position of the extracted entity within the example.
Properties
| children | |
| end |
The index within the utterance where the extracted entity ends. |
| entity |
The entity type. |
| role | The role of the predicted entity. |
| role |
The role id for the predicted entity. |
| start |
The index within the utterance where the extracted entity starts. |
Property Details
children
endTokenIndex
The index within the utterance where the extracted entity ends.
endTokenIndex: number
Property Value
number
entityName
The entity type.
entityName: string
Property Value
string
role
The role of the predicted entity.
role?: string
Property Value
string
roleId
The role id for the predicted entity.
roleId?: string
Property Value
string
startTokenIndex
The index within the utterance where the extracted entity starts.
startTokenIndex: number
Property Value
number