EntityLabelErrorAnalysis¶
- class oci.ai_language.models.EntityLabelErrorAnalysis(**kwargs)¶
Bases:
objectPossible entity error label error details
Methods:
__init__(**kwargs)Initializes a new EntityLabelErrorAnalysis object with values from keyword arguments.
Attributes:
[Required] Gets the length of this EntityLabelErrorAnalysis.
[Required] Gets the offset of this EntityLabelErrorAnalysis.
[Required] Gets the type of this EntityLabelErrorAnalysis.
- __init__(**kwargs)¶
Initializes a new EntityLabelErrorAnalysis object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
type (str) – The value to assign to the type property of this EntityLabelErrorAnalysis.
offset (int) – The value to assign to the offset property of this EntityLabelErrorAnalysis.
length (int) – The value to assign to the length property of this EntityLabelErrorAnalysis.
- property length¶
[Required] Gets the length of this EntityLabelErrorAnalysis. Length of text
- Returns
The length of this EntityLabelErrorAnalysis.
- Return type
int
- property offset¶
[Required] Gets the offset of this EntityLabelErrorAnalysis. Starting index on text.
- Returns
The offset of this EntityLabelErrorAnalysis.
- Return type
int
- property type¶
[Required] Gets the type of this EntityLabelErrorAnalysis. Type of entity text like PER, LOC, GPE, NOPE etc.
- Returns
The type of this EntityLabelErrorAnalysis.
- Return type
str