Class BreakIteratorTokenizerOptions
java.lang.Object
org.tribuo.util.tokens.options.BreakIteratorTokenizerOptions
- All Implemented Interfaces:
com.oracle.labs.mlrg.olcut.config.Options,TokenizerOptions
CLI options for a
BreakIteratorTokenizer.-
Field Summary
FieldsModifier and TypeFieldDescriptionBreakIteratorTokenizer - The language tag of the locale to be used.Fields inherited from interface com.oracle.labs.mlrg.olcut.config.Options
header -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates the appropriately configured tokenizer.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.oracle.labs.mlrg.olcut.config.Options
getOptionsDescription
-
Field Details
-
languageTag
@Option(longName="bi-tokenizer-language-tag", usage="BreakIteratorTokenizer - The language tag of the locale to be used.") public String languageTagBreakIteratorTokenizer - The language tag of the locale to be used.
-
-
Constructor Details
-
BreakIteratorTokenizerOptions
public BreakIteratorTokenizerOptions()
-
-
Method Details
-
getTokenizer
Description copied from interface:TokenizerOptionsCreates the appropriately configured tokenizer.- Specified by:
getTokenizerin interfaceTokenizerOptions- Returns:
- The configured tokenizer.
-