Package org.tribuo.util.tokens.options
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
Modifier 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
-
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, wait
Methods 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:TokenizerOptions
Creates the appropriately configured tokenizer.- Specified by:
getTokenizer
in interfaceTokenizerOptions
- Returns:
- The configured tokenizer.
-