public class PipelineConfigurator extends AnnotatorServiceConfigurator
Modifier and Type | Field and Description |
---|---|
static Property |
SPLIT_ON_DASH
if 'true', set tokenizer to split on hyphen.
|
static Property |
USE_DEP |
static Property |
USE_JSON |
static Property |
USE_LAZY_INITIALIZATION |
static Property |
USE_LEMMA |
static Property |
USE_MENTION |
static Property |
USE_NER_CONLL |
static Property |
USE_NER_ONTONOTES |
static Property |
USE_POS |
static Property |
USE_QUANTIFIER |
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_SHALLOW_PARSE |
static Property |
USE_SRL_COMMA |
static Property |
USE_SRL_INTERNAL_PREPROCESSOR |
static Property |
USE_SRL_NOM |
static Property |
USE_SRL_PREP |
static Property |
USE_SRL_VERB |
static Property |
USE_STANFORD_DEP |
static Property |
USE_STANFORD_PARSE |
static Property |
USE_TIMEX3 |
static Property |
USE_VERB_SENSE |
CACHE_DIR, CACHE_DISK_SIZE_MB, CACHE_HEAP_SIZE_MB, DISABLE_CACHE, FORCE_CACHE_UPDATE, SET_CACHE_SHUTDOWN_HOOK, THROW_EXCEPTION_IF_NOT_CACHED
FALSE, TRUE
Constructor and Description |
---|
PipelineConfigurator() |
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_POS
public static final Property USE_DEP
public static final Property USE_LEMMA
public static final Property USE_SHALLOW_PARSE
public static final Property USE_NER_CONLL
public static final Property USE_NER_ONTONOTES
public static final Property USE_STANFORD_PARSE
public static final Property USE_STANFORD_DEP
public static final Property USE_SRL_VERB
public static final Property USE_SRL_NOM
public static final Property USE_SRL_PREP
public static final Property USE_SRL_COMMA
public static final Property USE_QUANTIFIER
public static final Property USE_VERB_SENSE
public static final Property USE_JSON
public static final Property USE_MENTION
public static final Property USE_LAZY_INITIALIZATION
public static final Property USE_SRL_INTERNAL_PREPROCESSOR
public static final Property USE_TIMEX3
public static final Property USE_SENTENCE_PIPELINE
public static final Property SPLIT_ON_DASH
public ResourceManager getDefaultConfig()
getDefaultConfig
in class AnnotatorServiceConfigurator
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.