org.apache.uima.tools.cfe
Class CommonFeatureMatcher
java.lang.Object
org.apache.uima.tools.cfe.CommonFeatureMatcher
- Direct Known Subclasses:
- RRMFeatureMatcher, UIMAFeatureMatcher
public abstract class CommonFeatureMatcher
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_isAnnotationName
public final boolean m_isAnnotationName
m_isFeatureName
public final boolean m_isFeatureName
m_isTargetId
public final boolean m_isTargetId
m_fieldSeparator
public final String m_fieldSeparator
m_valueSeparators
public final String[] m_valueSeparators
PARAM_CONFIGURATIONFILE
public static final String PARAM_CONFIGURATIONFILE
- See Also:
- Constant Field Values
PARAM_INCLUDETARGETID
public static final String PARAM_INCLUDETARGETID
- See Also:
- Constant Field Values
PARAM_INCLUDEANNOTATIONNAME
public static final String PARAM_INCLUDEANNOTATIONNAME
- See Also:
- Constant Field Values
PARAM_INCLUDEFEATURENAME
public static final String PARAM_INCLUDEFEATURENAME
- See Also:
- Constant Field Values
PARAM_XMLBEANSPARSER
public static final String PARAM_XMLBEANSPARSER
- See Also:
- Constant Field Values
CONSTANT_INGORE
public static final int CONSTANT_INGORE
- See Also:
- Constant Field Values
CONSTANT_LEFTLEFT
public static final int CONSTANT_LEFTLEFT
- See Also:
- Constant Field Values
CONSTANT_LEFTINSIDE
public static final int CONSTANT_LEFTINSIDE
- See Also:
- Constant Field Values
CONSTANT_LEFTRIGHT
public static final int CONSTANT_LEFTRIGHT
- See Also:
- Constant Field Values
CONSTANT_INSIDEINSIDE
public static final int CONSTANT_INSIDEINSIDE
- See Also:
- Constant Field Values
CONSTANT_INSIDERIGHT
public static final int CONSTANT_INSIDERIGHT
- See Also:
- Constant Field Values
CONSTANT_RIGHTRIGHT
public static final int CONSTANT_RIGHTRIGHT
- See Also:
- Constant Field Values
CONSTANT_STARTSLEFT
public static final int CONSTANT_STARTSLEFT
- See Also:
- Constant Field Values
CONSTANT_STARTSINSIDE
public static final int CONSTANT_STARTSINSIDE
- See Also:
- Constant Field Values
CONSTANT_STARTSRIGHT
public static final int CONSTANT_STARTSRIGHT
- See Also:
- Constant Field Values
CONSTANT_ANYENCLOSED
public static final int CONSTANT_ANYENCLOSED
- See Also:
- Constant Field Values
processFeatureGroup
protected abstract void processFeatureGroup(org.apache.uima.jcas.JCas jcas,
org.apache.uima.jcas.tcas.Annotation trg,
String group_label,
Collection<MatchedAnnotationDescriptor> features)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
initialize
public void initialize(String configfile,
boolean isXMLBeansParser)
throws SecurityException,
ClassNotFoundException,
NoSuchMethodException,
URISyntaxException,
IOException,
org.apache.xmlbeans.XmlException
- Throws:
SecurityException
ClassNotFoundException
NoSuchMethodException
URISyntaxException
IOException
org.apache.xmlbeans.XmlException
make_image_position
protected static String make_image_position(MatchedAnnotationDescriptor mad)
make_image
protected String make_image(MatchedAnnotationDescriptor mad,
org.apache.uima.jcas.tcas.Annotation trg)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
getDocumentId
public static String getDocumentId(org.apache.uima.jcas.JCas jcas,
org.apache.uima.jcas.tcas.Annotation doc_ann)
processJCas
public void processJCas(org.apache.uima.jcas.JCas jcas)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException,
ClassNotFoundException,
SecurityException,
NoSuchFieldException
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
ClassNotFoundException
SecurityException
NoSuchFieldException
Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.