Class CoreTokenizerOptions
java.lang.Object
org.tribuo.util.tokens.options.CoreTokenizerOptions
- All Implemented Interfaces:
- com.oracle.labs.mlrg.olcut.config.Options,- TokenizerOptions
CLI Options for all the tokenizers in the core package.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic enumTokenizer type.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionOptions for the break iterator tokenizer.Type of tokenizerOptions for the split characters tokenizer.Options for the split pattern tokenizer.Fields inherited from interface com.oracle.labs.mlrg.olcut.config.Optionsheader
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionCreates the appropriately configured tokenizer.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.oracle.labs.mlrg.olcut.config.OptionsgetOptionsDescription
- 
Field Details- 
breakIteratorOptionsOptions for the break iterator tokenizer.
- 
splitCharactersTokenizerOptionsOptions for the split characters tokenizer.
- 
splitPatternTokenizerOptionsOptions for the split pattern tokenizer.
- 
coreTokenizerType@Option(longName="core-tokenizer-type", usage="Type of tokenizer") public CoreTokenizerOptions.CoreTokenizerType coreTokenizerTypeType of tokenizer
 
- 
- 
Constructor Details- 
CoreTokenizerOptionspublic CoreTokenizerOptions()
 
- 
- 
Method Details- 
getTokenizerDescription copied from interface:TokenizerOptionsCreates the appropriately configured tokenizer.- Specified by:
- getTokenizerin interface- TokenizerOptions
- Returns:
- The configured tokenizer.
 
 
-