An Utterance consists of a set of relations which in turn consists of a set of items.
The SUtterance structure.
An Utterance consists of a set of SRelation which in turn consists of a set of SItem.
The SUtteranceClass structure.
Return the given SUtterance child class object as a SUtterance object.
Parameters: |
|
---|---|
Return: | Given object as SUtterance* type. |
Note: | This casting is not safety checked. |
Initialize a newly created utterance for the given voice.
Parameters: |
|
---|---|
Note: | If this function fails the utterance will be deleted and the self pointer will be set to NULL. |
Get the voice that this utterance is associated with.
Parameters: |
|
---|---|
Return: | Pointer to the voice. |
Create a new named relation in given utterance.
Creates a relation, initializes it (SRelationInit), and sets it in the utterance (SUtteranceSetRelation).
Parameters: |
|
---|---|
Return: | Pointer to newly created relation. |
Return the named relation.
Parameters: |
|
---|---|
Return: | Pointer to named relation. |
Set the named relation in the given utterance.
Parameters: |
|
---|---|
Note: | The relation must have a name, and will be set in the utterance with this name. If a relation with the same name already exists in the utterance then it will be deleted. |
Delete the named relation.
Parameters: |
|
---|
Query the presence of a named relation.
Parameters: |
|
---|---|
Return: |
Get the keys of the relations of the given utterance.
Parameters: |
|
---|---|
Return: | Pointer to a SList containing the keys of the relations of the utterance. The list objects (keys) are string objects and are accessed with SObjectGetString. |
Note: | Caller is responsible for the memory of the returned SList object. |
Get the named feature from the given utterance.
Parameters: |
|
---|---|
Return: | Pointer to SObject object feature value. |
Set the named feature for the given utterance.
Parameters: |
|
---|
Delete the named feature for the given utterance.
Parameters: |
|
---|
Query if named feature is present in the given utterance.
Parameters: |
|
---|---|
Return: |
Get the keys of the features of the given utterance.
Parameters: |
|
---|---|
Return: | Pointer to a SList containing the keys of the features of the utterance. The list objects (keys) are string objects and are accessed with SObjectGetString. |
Note: | Caller is responsible for the memory of the returned SList object. |