public class FeaturePathInfo extends Object
Constructor and Description |
---|
FeaturePathInfo()
Constructor to create a new featurePath object
|
Modifier and Type | Method and Description |
---|---|
String |
getFeaturePath() |
String |
getValue(org.apache.uima.cas.text.AnnotationFS annotFS) |
void |
initialize(String featurePath)
Initialize the object's featurePath for the given type.
|
boolean |
match(org.apache.uima.cas.text.AnnotationFS annotFS,
Condition condition) |
void |
typeSystemInit(org.apache.uima.cas.Type featurePathType)
Checks the feature path for the given type and checks if it can be valid.
|
public FeaturePathInfo()
public void initialize(String featurePath) throws FeaturePathException
featurePath
- featurePath string separated by "/"FeaturePathException
- if an error occurs during initialization of the feature pathpublic void typeSystemInit(org.apache.uima.cas.Type featurePathType) throws FeaturePathException
featurePathType
- the anchor type.FeaturePathException
- if an error occurs during initialization of the feature pathpublic String getValue(org.apache.uima.cas.text.AnnotationFS annotFS)
public String getFeaturePath()
public boolean match(org.apache.uima.cas.text.AnnotationFS annotFS, Condition condition)
Copyright © 2007–2018 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.