Entity

class oci.ai_speech.models.Entity(**kwargs)

Bases: object

Entity Object Reference

Methods:

__init__(**kwargs)

Initializes a new Entity object with values from keyword arguments.

Attributes:

entity_value

[Required] Gets the entity_value of this Entity.

pronunciations

Gets the pronunciations of this Entity.

weight

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

list[oci.ai_speech.models.Pronunciation]

property weight

Gets the weight of this Entity. Entity weight

Returns

The weight of this Entity.

Return type

float