@API(value=EXPERIMENTAL) public interface TextTokenizerFactory
TextTokenizer
should have its own implementation
of this factory interface to provide instances of the tokenizer to a
TextTokenizerRegistry
. The registry will populate a mapping of names to
tokenizers using the methods of this interface.TextIndexMaintainer
Modifier and Type | Method and Description |
---|---|
String |
getName()
Get the unique name for the text tokenizer.
|
TextTokenizer |
getTokenizer()
Get an instance of the text tokenizer.
|
@Nonnull String getName()
@Nonnull TextTokenizer getTokenizer()
getName()
.