anl.gtou
Class AgentConverter
java.lang.Object
anl.gtou.AgentConverter
- All Implemented Interfaces:
- FeatureBuilder
public class AgentConverter
- extends java.lang.Object
- implements FeatureBuilder
Field Summary |
private org.apache.uima.cas.Feature |
annotationString
|
private org.apache.uima.cas.Feature |
canonicalName
|
private java.util.Map<java.lang.String,java.lang.String> |
canonicalNames
|
private org.apache.uima.cas.Feature |
kind
|
private org.apache.uima.cas.Feature |
subKind
|
Constructor Summary |
AgentConverter(org.apache.uima.cas.TypeSystem system)
|
Method Summary |
void |
build(org.apache.uima.cas.FeatureStructure parent,
gate.FeatureMap map)
Transfers UIMA features to a FeatureMap or vis-a-versa. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
kind
private org.apache.uima.cas.Feature kind
subKind
private org.apache.uima.cas.Feature subKind
annotationString
private org.apache.uima.cas.Feature annotationString
canonicalName
private org.apache.uima.cas.Feature canonicalName
canonicalNames
private java.util.Map<java.lang.String,java.lang.String> canonicalNames
AgentConverter
public AgentConverter(org.apache.uima.cas.TypeSystem system)
throws java.io.IOException
- Throws:
java.io.IOException
build
public void build(org.apache.uima.cas.FeatureStructure parent,
gate.FeatureMap map)
- Description copied from interface:
FeatureBuilder
- Transfers UIMA features to a FeatureMap or vis-a-versa.
- Specified by:
build
in interface FeatureBuilder
- Parameters:
parent
- the UIMA featureStructure containing the featuremap
- the feature map to put the feature in