public class CoreTokenizerOptions extends Object implements TokenizerOptions
Modifier and Type | Class and Description |
---|---|
static class |
CoreTokenizerOptions.CoreTokenizerType |
Constructor and Description |
---|
CoreTokenizerOptions() |
Modifier and Type | Method and Description |
---|---|
Tokenizer |
getTokenizer()
Creates the appropriately configured tokenizer.
|
public BreakIteratorTokenizerOptions breakIteratorOptions
public SplitCharactersTokenizerOptions splitCharactersTokenizerOptions
public SplitPatternTokenizerOptions splitPatternTokenizerOptions
@Option(longName="core-tokenizer-type", usage="Type of tokenizer") public CoreTokenizerOptions.CoreTokenizerType coreTokenizerType
public Tokenizer getTokenizer()
TokenizerOptions
getTokenizer
in interface TokenizerOptions
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.