public class Stanford331Configurator extends AnnotatorConfigurator
Modifier and Type | Field and Description |
---|---|
static Property |
STFRD_MAX_SENTENCE_LENGTH |
static Property |
STFRD_TIME_PER_SENTENCE |
static Property |
THROW_EXCEPTION_ON_FAILED_LENGTH_CHECK |
IS_LAZILY_INITIALIZED, IS_SENTENCE_LEVEL
FALSE, TRUE
Constructor and Description |
---|
Stanford331Configurator() |
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 STFRD_TIME_PER_SENTENCE
public static final Property STFRD_MAX_SENTENCE_LENGTH
public static final Property THROW_EXCEPTION_ON_FAILED_LENGTH_CHECK
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.