public class RegexNameFinderFactory
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER |
static interface |
RegexNameFinderFactory.RegexAble |
| Constructor and Description |
|---|
RegexNameFinderFactory() |
| Modifier and Type | Method and Description |
|---|---|
static RegexNameFinder |
getDefaultRegexNameFinders(java.util.Map<java.lang.String,java.util.regex.Pattern[]> config,
RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER... defaults)
Allows for use of selected Defaults as well as regexes from external
configuration
|
static RegexNameFinder |
getDefaultRegexNameFinders(RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER... defaults)
Returns a RegexNamefinder that will utilize specified default regexes.
|
public static RegexNameFinder getDefaultRegexNameFinders(java.util.Map<java.lang.String,java.util.regex.Pattern[]> config, RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER... defaults)
config - a map where the key is a type, and the value is a
Pattern[]. If the keys clash with default keys, the config
map will windefaults - the OpenNLP default regexesRegexNameFinderpublic static RegexNameFinder getDefaultRegexNameFinders(RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER... defaults)
defaults - the OpenNLP default regexesRegexNameFinderCopyright © 2010 - 2023 Adobe. All Rights Reserved