Package | Description |
---|---|
gov.va.vinci.leo |
Core Client objects.
|
gov.va.vinci.leo.ae |
Provides base Annotator classes.
|
gov.va.vinci.leo.descriptors |
Provides factories and classes for type, aggregate, analysis, deployment descriptors, and other
descriptors UIMA AS uses.
|
gov.va.vinci.leo.pipeline |
Modifier and Type | Method and Description |
---|---|
void |
Service.deploy(LeoAEDescriptor faed)
Initialize the Deployment Descriptor for the service using the provided
LeoAEDescriptor object as the Top Descriptor.
|
Modifier and Type | Method and Description |
---|---|
void |
Service.deploy(List<LeoAEDescriptor> primitives)
Initialize a service pipeline by first generating an aggregate descriptor from a list of
LeoAEDescriptor objects.
|
Modifier and Type | Field and Description |
---|---|
protected LeoAEDescriptor |
ExternalAnnotator.descriptor
External descriptor imported to LeoAnnotator for use in the SimplePipeline representation.
|
Modifier and Type | Method and Description |
---|---|
LeoAEDescriptor |
LeoBaseAnnotator.getLeoAEDescriptor()
Generate a descriptor from this annotator object.
|
Modifier and Type | Method and Description |
---|---|
LeoAEDescriptor |
LeoAEDescriptor.addCapability(org.apache.uima.resource.metadata.Capability c)
Adds either outputs or inputs for the specified capability to this ResultSpecification.
|
LeoAEDescriptor |
LeoAEDescriptor.addConfigurationParameter(org.apache.uima.resource.metadata.ConfigurationParameter aConfigurationParameter)
Adds a configuration parameter to the metadata for this AnalysisEngineDescriptor.
|
LeoAEDescriptor |
LeoAEDescriptor.addDelegate(LeoDelegate delegate)
Add the provided LeoAEDescriptor as a delegate to this AnalysisEngine.
|
LeoAEDescriptor |
LeoAEDescriptor.addDelegate(String descriptor,
boolean byName,
NameValue... paramValues)
Add a delegate analysis engine descriptor to this engine using the descriptor provided.
|
LeoAEDescriptor |
LeoAEDescriptor.addParameterSetting(String paramName,
boolean isMandatory,
boolean isMultiValued,
String paramType)
Add a new parameter.
|
LeoAEDescriptor |
LeoAEDescriptor.addParameterSetting(String paramName,
boolean isMandatory,
boolean isMultiValued,
String paramType,
Object initValue)
Add a new parameter and optionally set an initial value.
|
LeoAEDescriptor |
LeoAEDescriptor.addResourceConfiguration(org.apache.uima.resource.metadata.ResourceManagerConfiguration rmc)
Add the external resources specified by the provided ResourceManagerConfiguration object.
|
LeoAEDescriptor |
LeoAEDescriptor.addType(String aTypeName,
String aTypeDescription,
String aSuperTypeName)
Add a new type to the TypeSystem with the Name and SuperType name provided.
|
LeoAEDescriptor |
LeoAEDescriptor.addType(org.apache.uima.resource.metadata.TypeDescription td)
Add an Annotation Type to the TypeSystem.
|
LeoAEDescriptor |
LeoAEDescriptor.addTypeSystemDescription(LeoTypeSystemDescription ftsd)
Append the TypeSystem contained in a LeoTypeSystemDescription object to the TypeSystem contained in
this Analysis Engine.
|
LeoAEDescriptor |
LeoAEDescriptor.addTypeSystemDescription(org.apache.uima.resource.metadata.TypeSystemDescription tsd)
Append an existing TypeSystem to the existing TypeSystem contained in this Analysis Engine.
|
LeoAEDescriptor |
LeoAEDescriptor.analysisEngineSection(TransformerHandler thd,
boolean isTopDescriptor)
Generate the XML for the analysisEngine section of the deployment descriptor.
|
LeoAEDescriptor |
LeoAEDescriptor.genTypeSystemJava(String srcDirectory,
String binDirectory)
Generate the java source files for the TypeSystem of this AnalysisEngine, then compile them.
|
LeoAEDescriptor |
LeoDeployDescriptor.getTopDescriptor()
Get a reference to the top descriptor for this service.
|
LeoAEDescriptor |
LeoAEDescriptor.setAnalysisEngineDescription(org.apache.uima.analysis_engine.AnalysisEngineDescription aed)
Set the AnalysisEngineDescription object that will be the core gov.va.vinci.leo.model for this LeoAEDescriptor.
|
LeoAEDescriptor |
LeoAEDescriptor.setAnalysisEngineDescription(String descriptor,
boolean byName)
Generate the AnalysisEngineDescription object from the descriptor file and set it as the internal gov.va.vinci.leo.model
for this LeoAEDescriptor.
|
LeoAEDescriptor |
LeoAEDescriptor.setDescription(String desc)
Sets the description of this Resource.
|
LeoAEDescriptor |
LeoAEDescriptor.setDescriptorLocator(URI mDescriptorLocator)
Set the location where the descriptor should be generated.
|
LeoAEDescriptor |
LeoAEDescriptor.setImplementationName(String s)
Sets the name of this ResourceCreationSpecifier's implementation.
|
LeoAEDescriptor |
LeoAEDescriptor.setIsAsync(boolean async)
Set the async flag for an aggregate deployment only, see the
isAsync method for more information about flag usage.
|
LeoAEDescriptor |
LeoAEDescriptor.setIsDeleteOnExit(boolean deleteOnExit)
Set the flag to TRUE if generated descriptors should be deleted when the program exits, FALSE to persist them.
|
LeoAEDescriptor |
LeoAEDescriptor.setModifiesCas(boolean aModifiesCas)
Sets whether this component will modify the CAS.
|
LeoAEDescriptor |
LeoAEDescriptor.setMultipleDeploymentAllowed(boolean b)
Sets whether multiple instances of this component can be run in parallel, each receiving a subset of the documents from a collection.
|
LeoAEDescriptor |
LeoAEDescriptor.setName(String name)
Sets the name of this Resource.
|
LeoAEDescriptor |
LeoAEDescriptor.setNumberOfInstances(int numberOfInstances) |
LeoAEDescriptor |
LeoAEDescriptor.setOutputsNewCASes(boolean b)
Sets whether this AnalysisEngine may output new CASes.
|
LeoAEDescriptor |
LeoAEDescriptor.setParameterSetting(NameValue fpv)
Set a parameter from a NameValue object.
|
LeoAEDescriptor |
LeoAEDescriptor.setParameterSetting(String name,
Object value)
Set the parameter with the name to the value.
|
LeoAEDescriptor |
LeoAEDescriptor.setTypeSystemDescription(LeoTypeSystemDescription ftsd)
This method sets the type system description for this analysis engine to the TypeSystem provided.
|
LeoAEDescriptor |
LeoAEDescriptor.setTypeSystemDescription(org.apache.uima.resource.metadata.TypeSystemDescription tsd)
Set the type system description for this analysis engine to the TypeSystem provided.
|
LeoAEDescriptor |
LeoAEDescriptor.setVersion(String version)
Sets the version number of this Resource.
|
Modifier and Type | Method and Description |
---|---|
LeoDeployDescriptor |
LeoDeployDescriptor.setTopDescriptor(LeoAEDescriptor faed)
Set the top descriptor for this deployment to the LeoAEDescriptor object provided.
|
Constructor and Description |
---|
LeoDeployDescriptor(LeoAEDescriptor faed)
Constructor that sets top descriptor initially.
|
Constructor and Description |
---|
LeoAEDescriptor(List<LeoAEDescriptor> primitives)
Create a new LeoAEDescriptor object that represents an aggregate from a list of
LeoAEDescriptor primitives.
|
Modifier and Type | Method and Description |
---|---|
LeoAEDescriptor |
PipelineInterface.getPipeline()
Get the full Pipeline.
|
Copyright © 2018 Department of Veterans Affairs. All Rights Reserved.