An Utterance Processor processes an utterance by extracting information from it and then modifying it in some way.
An Utterance Processor processes an utterance by extracting information from it and then modifying it in some way.
Note
The SUttProcessor object inherits from SObject in the Speect Engine and can therefore be used in functions/methods that require parameters of type SObject.
run(utt)
Execute the UttProcessor on the given utterance.
Parameters: | utt (SUtterance) – The utterance on which to execute the utterance processor. |
---|
An utterance processor has features which can be accessed by:
Get the features that are defined for the utterance processor.
Returns: | A map of the utterance processor features. |
---|---|
Return type: | SMap |
For example:
sr = uttproc.features["sampling_rate"]
See SMap for the implemented operations.