Entity¶
- class oci.ai_speech.models.Entity(**kwargs)¶
Bases:
objectEntity Object Reference
Methods:
__init__(**kwargs)Initializes a new Entity object with values from keyword arguments.
Attributes:
[Required] Gets the entity_value of this Entity.
Gets the pronunciations of this Entity.
Gets the weight of this Entity.
- __init__(**kwargs)¶
Initializes a new Entity object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
entity_value (str) – The value to assign to the entity_value property of this Entity.
pronunciations (list[oci.ai_speech.models.Pronunciation]) – The value to assign to the pronunciations property of this Entity.
weight (float) – The value to assign to the weight property of this Entity.
- property entity_value¶
[Required] Gets the entity_value of this Entity. Entity value
- Returns
The entity_value of this Entity.
- Return type
str
- property pronunciations¶
Gets the pronunciations of this Entity. List of pronunciations (minimum 1, maximum 255)
- Returns
The pronunciations of this Entity.
- Return type
- property weight¶
Gets the weight of this Entity. Entity weight
- Returns
The weight of this Entity.
- Return type
float