Package ai.rev.speechtotext.models
Class CustomVocabulary
- java.lang.Object
-
- ai.rev.speechtotext.models.CustomVocabulary
-
public class CustomVocabulary extends Object
A CustomVocabulary object provides all the custom phrases that are submitted along with a job.
-
-
Constructor Summary
Constructors Constructor Description CustomVocabulary(List<String> phrases)Creates a new custom vocabulary with a list of phrases limited to alphabetic characters and spaces.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getPhrases()Returns a list of phrasesvoidsetPhrases(List<String> phrases)Sets the list of phrases to be used in the custom vocabulary.
-