public class ExternalToolsConfigurator extends AnnotatorConfigurator
Modifier and Type | Field and Description |
---|---|
static Property |
SPLIT_ON_DASH
if 'true', set tokenizer to split on hyphen.
|
static Property |
USE_JSON |
static Property |
USE_LAZY_INITIALIZATION |
static Property |
USE_SENTENCE_PIPELINE
if 'true', the PipelineFactory will return a sentence-level pipeline that will use all viable
annotators in a "per-sentence" way: it will split the text into sentences, process each
individually, then splice the annotations together.
|
static Property |
USE_SRL_INTERNAL_PREPROCESSOR |
IS_LAZILY_INITIALIZED, IS_SENTENCE_LEVEL
FALSE, TRUE
Constructor and Description |
---|
ExternalToolsConfigurator() |
Modifier and Type | Method and Description |
---|---|
ResourceManager |
getConfig(ResourceManager nonDefaultRm)
Get a
ResourceManager with non-default properties. |
ResourceManager |
getDefaultConfig()
get a ResourceManager object with the default key/value pairs for this configurator default
SRL_TYPE is Verb.
|
generateProperties, getConfig, mergeProperties, mergeProperties
public static final Property USE_JSON
public static final Property USE_LAZY_INITIALIZATION
public static final Property USE_SRL_INTERNAL_PREPROCESSOR
public static final Property USE_SENTENCE_PIPELINE
public static final Property SPLIT_ON_DASH
public ResourceManager getDefaultConfig()
getDefaultConfig
in class AnnotatorConfigurator
public ResourceManager getConfig(ResourceManager nonDefaultRm)
ResourceManager
with non-default properties. Overloaded to merge the properties
of AnnotatorServiceConfigurator
.getConfig
in class Configurator
nonDefaultRm
- The non-default propertiesCopyright © 2017. All rights reserved.