Modifier and Type | Field and Description |
---|---|
protected ResourceManager |
Annotator.config
stores configuration for lazy initialization.
|
Modifier and Type | Method and Description |
---|---|
ResourceManager |
AnnotatorServiceConfigurator.getDefaultConfig()
get a ResourceManager object with the default key/value pairs for this configurator
|
ResourceManager |
AnnotatorConfigurator.getDefaultConfig()
get a ResourceManager object with the default key/value pairs for this configurator
|
Modifier and Type | Method and Description |
---|---|
abstract void |
Annotator.initialize(ResourceManager rm)
Derived classes use this to load memory- or time-consuming resources.
|
Constructor and Description |
---|
Annotator(String viewName,
String[] requiredViews,
boolean isLazilyInitialized,
ResourceManager config)
some annotators have complex initialization, so will have to pass a ResourceManager to be on
hand for their initialization if non-lazy initialization is desired.
|
Annotator(String viewName,
String[] requiredViews,
ResourceManager rm)
If lazy initialization is desired, set the property
AnnotatorConfigurator.IS_LAZILY_INITIALIZED in the ResourceManager argument |
BasicAnnotatorService(TextAnnotationBuilder textAnnotationBuilder,
Map<String,Annotator> viewProviders,
ResourceManager rm)
constructor with ResourceManager properties for caching behavior
|
Modifier and Type | Method and Description |
---|---|
ResourceManager |
ChunkerConfigurator.getDefaultConfig() |
Modifier and Type | Method and Description |
---|---|
void |
ChunkerAnnotator.initialize(ResourceManager rm) |
Constructor and Description |
---|
ChunkerAnnotator(boolean lazilyInitialize,
ResourceManager rm) |
Constructor and Description |
---|
Chunker(ResourceManager config) |
Modifier and Type | Method and Description |
---|---|
void |
CommaLabeler.initialize(ResourceManager resourceManager) |
Modifier and Type | Class and Description |
---|---|
class |
CommaProperties
A property manager for the CommaSRL to read the configurations from disk.
|
Modifier and Type | Method and Description |
---|---|
ResourceManager |
CommaSRLConfigurator.getDefaultConfig() |
Modifier and Type | Method and Description |
---|---|
ResourceManager |
SimConfigurator.getDefaultConfig() |
ResourceManager |
NESimConfigurator.getDefaultConfig()
get a ResourceManager object with the default key/value pairs for this
configurator
|
ResourceManager |
SimConfigurator.metricsConfig(String metrics,
String file) |
Modifier and Type | Method and Description |
---|---|
ResourceManager |
ResourceConfigurator.getDefaultConfig()
get a ResourceManager object with the default key/value pairs for this configurator
|
Constructor and Description |
---|
TextCleaner(ResourceManager rm_) |
TextCleanerStringTransformation(ResourceManager rm) |
Modifier and Type | Method and Description |
---|---|
ResourceManager |
Configurator.getConfig(Map<String,String> nonDefaultValues)
get a Properties object with default values except for those provided in the
'nonDefaultValues' argument
|
ResourceManager |
Configurator.getConfig(ResourceManager nonDefaultRm)
get a Properties object with default values except for those provided in the
'nonDefaultValues' argument
|
abstract ResourceManager |
Configurator.getDefaultConfig()
get a ResourceManager object with the default key/value pairs for this configurator
|
static ResourceManager |
Configurator.mergeProperties(List<ResourceManager> rmList)
merge a list of ResourceManager objects
|
static ResourceManager |
Configurator.mergeProperties(ResourceManager first,
ResourceManager second)
combine two sets of properties to make a third Properties object; if both sets contain a
value for the same key, the value from the second ResourceManager is selected.
|
Modifier and Type | Method and Description |
---|---|
ResourceManager |
Configurator.getConfig(ResourceManager nonDefaultRm)
get a Properties object with default values except for those provided in the
'nonDefaultValues' argument
|
static ResourceManager |
Configurator.mergeProperties(ResourceManager first,
ResourceManager second)
combine two sets of properties to make a third Properties object; if both sets contain a
value for the same key, the value from the second ResourceManager is selected.
|
Modifier and Type | Method and Description |
---|---|
static ResourceManager |
Configurator.mergeProperties(List<ResourceManager> rmList)
merge a list of ResourceManager objects
|
Modifier and Type | Method and Description |
---|---|
ResourceManager |
CuratorConfigurator.getDefaultConfig() |
Modifier and Type | Method and Description |
---|---|
static AnnotatorService |
CuratorFactory.buildCuratorClient(ResourceManager rm) |
void |
CuratorAnnotator.initialize(ResourceManager rm)
noop
|
Constructor and Description |
---|
CuratorAnnotatorService(ResourceManager rm)
|
CuratorClient(ResourceManager rm)
Create a new curator client pointing to the specified host and port.
|
Modifier and Type | Method and Description |
---|---|
ResourceManager |
DepConfigurator.getDefaultConfig() |
Modifier and Type | Method and Description |
---|---|
void |
DepAnnotator.initialize(ResourceManager rm) |
Constructor and Description |
---|
DepAnnotator(boolean lazilyInitialize,
ResourceManager rm) |
Modifier and Type | Method and Description |
---|---|
void |
PorterStemmer.initialize(ResourceManager rm)
Deprecated.
noop.
|
void |
ClauseViewGenerator.initialize(ResourceManager rm)
noop.
|
void |
GazetteerViewGenerator.initialize(ResourceManager rm)
Deprecated.
noop.
|
void |
POSFromParse.initialize(ResourceManager rm)
noop.
|
void |
HeadFinderDependencyViewGenerator.initialize(ResourceManager rm)
noop.
|
void |
WordNetPlusLemmaViewGenerator.initialize(ResourceManager rm)
Deprecated.
noop
|
void |
BrownClusterViewGenerator.initialize(ResourceManager rm)
noop -- uses its own lazy initialization.
|
void |
PseudoParse.initialize(ResourceManager rm)
noop.
|
void |
WordNetLemmaViewGenerator.initialize(ResourceManager rm)
Deprecated.
noop.
|
void |
SimpleGazetteerAnnotator.initialize(ResourceManager rm)
init all the gazetters, read the terms from a file.
|
Constructor and Description |
---|
BrownClusterViewGenerator(String name,
String file,
boolean gzip,
ResourceManager nonDefaultRm) |
BrownClusterViewGenerator(String name,
String file,
ResourceManager nonDefaultRm) |
SimpleGazetteerAnnotator(ResourceManager nonDefaultRm)
ResourceManager can override properties in
SimpleGazetteerAnnotatorConfigurator |
Modifier and Type | Method and Description |
---|---|
ResourceManager |
SimpleGazetteerAnnotatorConfigurator.getDefaultConfig()
get a ResourceManager object with the default key/value pairs for this configurator
|
ResourceManager |
BrownClusterViewGeneratorConfigurator.getDefaultConfig()
get a ResourceManager object with the default key/value pairs for this configurator
|
Constructor and Description |
---|
WordListFilter(ResourceManager rm_) |
Modifier and Type | Method and Description |
---|---|
protected void |
WordComparator.configure(ResourceManager rm_)
reads parameters from configuration file named by m_propertiesFile loads
stopwords, sets xmlrpc client if appropriate
|
Constructor and Description |
---|
LlmStringComparator(ResourceManager rm_) |
LlmStringComparator(ResourceManager rm_,
edu.illinois.cs.cogcomp.mrcs.comparators.Comparator<String,edu.illinois.cs.cogcomp.mrcs.dataStructures.EntailmentResult> comparator_) |
WordComparator(ResourceManager rm_) |
Modifier and Type | Method and Description |
---|---|
static NERAnnotator |
NerAnnotatorManager.buildNerAnnotator(ResourceManager nonDefaultRm) |
static NERAnnotator |
NerAnnotatorManager.buildNerAnnotator(ResourceManager nonDefaultRm,
String viewName)
the viewName will be used as a KEY to instantiate/get the corresponding NER instance
|
void |
NERAnnotator.initialize(ResourceManager nerRm)
Superclass calls this method either on instantiation or at first call to getView().
|
Constructor and Description |
---|
NERAnnotator(ResourceManager nonDefaultRm,
String viewName)
Default behavior is to use lazy initialization; override with ResourceManager entry per the
Configurator property
AnnotatorConfigurator.IS_LAZILY_INITIALIZED |
Modifier and Type | Method and Description |
---|---|
ResourceManager |
NerOntonotesConfigurator.getDefaultConfig() |
ResourceManager |
NerBaseConfigurator.getDefaultConfig() |
Modifier and Type | Method and Description |
---|---|
static ParametersForLbjCode |
Parameters.readAndLoadConfig(ResourceManager rm,
boolean areWeTraining)
This is the method that does all the work.
|
static void |
Parameters.readConfigAndLoadExternalData(ResourceManager rm)
Convenience method.
|
Modifier and Type | Field and Description |
---|---|
protected ResourceManager |
AnnotationReader.resourceManager |
Modifier and Type | Method and Description |
---|---|
static ResourceManager |
CorpusReaderConfigurator.buildResourceManager(String corpus) |
static ResourceManager |
CorpusReaderConfigurator.buildResourceManager(String corpusName,
String sourceDir,
String annotationDir,
String sourceFileExtension,
String annotationFileExtension) |
ResourceManager |
CorpusReaderConfigurator.getDefaultConfig()
get a ResourceManager object with the default key/value pairs for this configurator
|
Constructor and Description |
---|
AbstractIncrementalCorpusReader(ResourceManager rm)
ResourceManager must specify the fields
CorpusReaderConfigurator .CORPUS_NAME and
.CORPUS_DIRECTORY, plus whatever is required by the derived class for initializeReader(). |
AbstractIncrementalXmlCorpusReader(ResourceManager rm)
ResourceManager must specify the fields
CorpusReaderConfigurator .CORPUS_NAME and
.CORPUS_DIRECTORY, plus whatever is required by the derived class for initializeReader(). |
AnnotationReader(ResourceManager rm)
ResourceManager must provide a value for
CorpusReaderConfigurator .CORPUS_NAME, plus
whatever is required by derived class for its initializeReader() and reset() methods. |
XmlDocumentReader(ResourceManager rm,
XmlTextAnnotationMaker xmlTextAnnotationMaker)
Instantiate a reader for an xml corpus.
|
Modifier and Type | Method and Description |
---|---|
ResourceManager |
CorpusSplitConfigurator.getDefaultConfig()
get a ResourceManager object with the default key/value pairs for this configurator
|
Modifier and Type | Method and Description |
---|---|
static ResourceManager |
EREDocumentReader.buildEreConfig(String ereCorpusVal,
String corpusRoot)
This method sets a range of configuration parameters based on which ERE release user specifies
|
ResourceManager |
EREReaderConfigurator.getDefaultConfig()
get a ResourceManager object with the default key/value pairs for this configurator
|
Constructor and Description |
---|
EREDocumentReader(ResourceManager rm,
XmlTextAnnotationMaker xmlTextAnnotationMaker) |
Modifier and Type | Method and Description |
---|---|
ResourceManager |
LemmatizerConfigurator.getDefaultConfig()
get a ResourceManager object with the default key/value pairs for this configurator
|
Modifier and Type | Method and Description |
---|---|
void |
IllinoisLemmatizer.initialize(ResourceManager rm)
loads resources used by lemmatizer.
|
Constructor and Description |
---|
IllinoisLemmatizer(ResourceManager nonDefaultRm)
Override default config parameters with properties in rm.
|
Modifier and Type | Method and Description |
---|---|
void |
POSFromParse.initialize(ResourceManager rm)
Derived classes use this to load memory- or time-consuming resources.
|
Modifier and Type | Method and Description |
---|---|
ResourceManager |
ExternalToolsConfigurator.getConfig(ResourceManager nonDefaultRm)
Get a
ResourceManager with non-default properties. |
ResourceManager |
PipelineConfigurator.getConfig(ResourceManager nonDefaultRm)
Get a
ResourceManager with non-default properties. |
ResourceManager |
Stanford331Configurator.getConfig(ResourceManager nonDefaultRm)
Get a
ResourceManager with non-default properties. |
ResourceManager |
ExternalToolsConfigurator.getDefaultConfig()
get a ResourceManager object with the default key/value pairs for this configurator default
SRL_TYPE is Verb.
|
ResourceManager |
PipelineConfigurator.getDefaultConfig()
get a ResourceManager object with the default key/value pairs for this configurator default
SRL_TYPE is Verb.
|
ResourceManager |
Stanford331Configurator.getDefaultConfig()
get a ResourceManager object with the default key/value pairs for this configurator
default SRL_TYPE is Verb.
|
Modifier and Type | Method and Description |
---|---|
ResourceManager |
ExternalToolsConfigurator.getConfig(ResourceManager nonDefaultRm)
Get a
ResourceManager with non-default properties. |
ResourceManager |
PipelineConfigurator.getConfig(ResourceManager nonDefaultRm)
Get a
ResourceManager with non-default properties. |
ResourceManager |
Stanford331Configurator.getConfig(ResourceManager nonDefaultRm)
Get a
ResourceManager with non-default properties. |
Modifier and Type | Method and Description |
---|---|
void |
StanfordRelationsHandler.initialize(ResourceManager rm) |
void |
StanfordOpenIEHandler.initialize(ResourceManager rm) |
void |
StanfordCorefHandler.initialize(ResourceManager rm) |
void |
PathLSTMHandler.initialize(ResourceManager rm) |
void |
StanfordTrueCaseHandler.initialize(ResourceManager rm) |
void |
StanfordParseHandler.initialize(ResourceManager resourceManager)
noop
|
void |
StanfordDepHandler.initialize(ResourceManager resourceManager)
noop
|
Modifier and Type | Method and Description |
---|---|
static BasicAnnotatorService |
ClauseAnnotatorFactory.buildPipeline(ResourceManager rm) |
void |
ClausIEAnnotator.initialize(ResourceManager rm) |
Modifier and Type | Method and Description |
---|---|
static BasicAnnotatorService |
PipelineFactory.buildPipeline(ResourceManager rm)
create an AnnotatorService with components specified by the ResourceManager (to override
defaults in
PipelineConfigurator |
static BasicAnnotatorService |
ExternalAnnotatorServiceFactory.buildPipeline(ResourceManager rm,
Map<String,Annotator> annotators)
create an AnnotatorService with components specified by the ResourceManager (to override
defaults in
ExternalToolsConfigurator |
Constructor and Description |
---|
SentencePipeline(TextAnnotationBuilder textAnnotationBuilder,
Map<String,Annotator> viewProviders,
ResourceManager rm)
constructor with ResourceManager properties for caching behavior
|
Modifier and Type | Method and Description |
---|---|
void |
ServerClientAnnotator.initialize(ResourceManager rm) |
Modifier and Type | Method and Description |
---|---|
ResourceManager |
POSConfigurator.getDefaultConfig() |
Modifier and Type | Method and Description |
---|---|
void |
POSAnnotator.initialize(ResourceManager rm)
called by superclass either on instantiation, or on first call to getView().
|
Modifier and Type | Method and Description |
---|---|
static ResourceManager |
PrepSRLConfigurator.defaults() |
ResourceManager |
PrepSRLConfigurator.getDefaultConfig() |
Modifier and Type | Method and Description |
---|---|
void |
PrepSRLAnnotator.initialize(ResourceManager rm) |
Constructor and Description |
---|
PrepSRLAnnotator(boolean lazilyInitialize,
ResourceManager rm) |
Constructor and Description |
---|
Preprocessor(ResourceManager rm) |
Constructor and Description |
---|
ConstrainedPrepSRLClassifier(ResourceManager rm) |
Modifier and Type | Field and Description |
---|---|
protected ResourceManager |
DataReader.rm |
Modifier and Type | Method and Description |
---|---|
static ResourceManager |
PreprocessorConfigurator.defaults() |
ResourceManager |
PreprocessorConfigurator.getDefaultConfig() |
Modifier and Type | Method and Description |
---|---|
void |
Quantifier.initialize(ResourceManager resourceManager) |
Constructor and Description |
---|
WordSim(ResourceManager rm_,
String method)
Initialize specific word metrics instance
|
Modifier and Type | Method and Description |
---|---|
ResourceManager |
TemporalChunkerConfigurator.getDefaultConfig() |
Modifier and Type | Method and Description |
---|---|
void |
TemporalChunkerAnnotator.initialize(ResourceManager rm) |
Constructor and Description |
---|
TemporalChunkerAnnotator(ResourceManager nonDefaultRm)
DO USE THIS CONSTRUCTOR
Refer to main() to see detailed usage
|
Constructor and Description |
---|
MultiLingualTokenizer(ResourceManager rm) |
Modifier and Type | Method and Description |
---|---|
void |
VerbSenseAnnotator.initialize(ResourceManager resourceManager) |
Constructor and Description |
---|
VerbSenseAnnotator(boolean lazilyInitialize,
ResourceManager rm) |
Modifier and Type | Method and Description |
---|---|
ResourceManager |
VerbSenseConfigurator.getDefaultConfig() |
Modifier and Type | Method and Description |
---|---|
static String |
VerbSenseConfigurator.getFeatureCacheFile(String featureSet,
Dataset dataset,
ResourceManager rm) |
static String |
VerbSenseConfigurator.getPrunedFeatureCacheFile(String featureSet,
ResourceManager rm) |
static String |
VerbSenseConfigurator.getSentenceDBFile(ResourceManager rm) |
Modifier and Type | Method and Description |
---|---|
ResourceManager |
WNSimConfigurator.getDefaultConfig() |
Constructor and Description |
---|
Paraphrase(ResourceManager rm)
Constructor
|
WNSim(ResourceManager rm)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
MentionAnnotator.initialize(ResourceManager rm) |
Copyright © 2017. All rights reserved.