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.
|
static void |
main(java.lang.String[] args) |
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 regexespublic static RegexNameFinder getDefaultRegexNameFinders(RegexNameFinderFactory.DEFAULT_REGEX_NAME_FINDER... defaults)
defaults
- the OpenNLP default regexespublic static void main(java.lang.String[] args)
Copyright © 2010 - 2020 Adobe. All Rights Reserved