EntityLabelErrorAnalysis

class oci.ai_language.models.EntityLabelErrorAnalysis(**kwargs)

Bases: object

Possible entity error label error details

Methods

__init__(**kwargs) Initializes a new EntityLabelErrorAnalysis object with values from keyword arguments.

Attributes

length [Required] Gets the length of this EntityLabelErrorAnalysis.
offset [Required] Gets the offset of this EntityLabelErrorAnalysis.
type [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.
length

[Required] Gets the length of this EntityLabelErrorAnalysis. Length of text

Returns:The length of this EntityLabelErrorAnalysis.
Return type:int
offset

[Required] Gets the offset of this EntityLabelErrorAnalysis. Starting index on text.

Returns:The offset of this EntityLabelErrorAnalysis.
Return type:int
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