PronunciationAssessmentConfig Class
Definition
Represents pronunciation assessment configuration. Note: close() must be called in order to release underlying resources held by the object. Added in version 1.14.0
public class PronunciationAssessmentConfig
- Inheritance
-
java.lang.ObjectAutoCloseablePronunciationAssessmentConfig
Constructors
Methods
| applyTo(Recognizer recognizer) |
Applies the settings in this config to a recognizer. |
| close() |
Explicitly frees any external resource attached to the object |
| fromJson(String json) |
Creates an instance of the PronunciationAssessmentConfig from a json string |
| getReferenceText() |
Gets the reference text. |
| setNBestPhonemeCount(int count) |
Sets the nbest phoneme alphabet |
| setPhonemeAlphabet(String value) |
Sets the phoneme alphabet |
| setReferenceText(String value) |
Sets the reference text. |
| toJson() |
Gets the json string of pronunciation assessment parameters. |