public class TypeLibrarian extends Object
Constructor and Description |
---|
TypeLibrarian() |
Modifier and Type | Method and Description |
---|---|
static org.apache.uima.resource.metadata.TypeDescription |
getCSITypeSystemDescription()
Get the standard CSI TypeSystem Description used within most leo projects.
|
static org.apache.uima.resource.metadata.TypeDescription |
getRelationshipAnnotationTypeSystemDescription()
Get the standard RelationshipAnnotation TypeSystem Description used within some leo projects.
|
static org.apache.uima.resource.metadata.TypeDescription |
getTypeSystemDescription(String className,
FeatureNameType... params)
A method for easily building simple type system descriptions.
|
static org.apache.uima.resource.metadata.TypeDescription |
getValidationAnnotationTypeSystemDescription()
Get the validation annotation type that Siman/Chex creates.
|
public static org.apache.uima.resource.metadata.TypeDescription getValidationAnnotationTypeSystemDescription()
public static org.apache.uima.resource.metadata.TypeDescription getRelationshipAnnotationTypeSystemDescription()
public static org.apache.uima.resource.metadata.TypeDescription getCSITypeSystemDescription()
public static org.apache.uima.resource.metadata.TypeDescription getTypeSystemDescription(String className, FeatureNameType... params)
TypeLibrarian.getTypeSystemDescription("gov.va.vinci.examples.MyType",
new FeatureNameType("pattern", "uima.cas.String"),
new FeatureNameType("referenceAnnotation", "uima.tcas.Annotation"));
className
- The type classname (e.g. - gov.va.vinci.examples.MyType)params
- The feature name type object to add to the type. For instance: new FeatureNameType("pattern", "uima.cas.String");Copyright © 2018 Department of Veterans Affairs. All Rights Reserved.