Package com.reign.kat.lib.voice.speech
Class Tokenizer
java.lang.Object
com.reign.kat.lib.voice.speech.Tokenizer
Allows us to parse text into a series of generalized tokens which make up the structure of the sentence.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidInitializes the Tokenizer and creates the necessary token bindingsstatic TokenResultAttempts to convert a list of Strings into a valid series of tokens
- 
Constructor Details- 
Tokenizerpublic Tokenizer()
 
- 
- 
Method Details- 
initInitializes the Tokenizer and creates the necessary token bindings- Parameters:
- tableVersion- tokentable format version to use. (will throw an error if we try to read an incompatible file version)
- tokenTablePath- path to tokentable.json
 
- 
tokenizeAttempts to convert a list of Strings into a valid series of tokens- Parameters:
- text- List of strings to convert
- Returns:
- List of tokens created from text
 
 
-