AbstractAnalysisFactory
Abstract parent class for analysis factories TokenizerFactory, TokenFilterFactory and CharFilterFactory.
The typical lifecycle for a factory consumer is:
Create factory via its constructor (or via XXXFactory.forName)
(Optional) If the factory uses resources such as files, ResourceLoaderAware.inform is called to initialize those resources.
Consumer calls create() to obtain instances.
Inheritors
Properties
Functions
Link copied to clipboard
fun get(args: MutableMap<String, String>, name: String, allowedValues: MutableCollection<String>, defaultVal: String? = null, caseSensitive: Boolean = true): String?
Link copied to clipboard
Returns whitespace- and/or comma-separated set of values, or null if none are found
Link copied to clipboard