public abstract class ConstraintConstructor extends Object
Modifier and Type | Field and Description |
---|---|
protected org.apache.uima.jcas.JCas |
jcas |
Constructor and Description |
---|
ConstraintConstructor() |
ConstraintConstructor(org.apache.uima.jcas.JCas jcas) |
Modifier and Type | Method and Description |
---|---|
abstract org.apache.uima.cas.FSMatchConstraint |
constructConstraintByBeginEnd(int problemBegin,
int problemEnd,
org.apache.uima.cas.ConstraintFactory cf,
org.apache.uima.cas.FeaturePath sentenceBeginFeaturePath,
org.apache.uima.cas.FeaturePath sentenceEndFeaturePath) |
org.apache.uima.cas.FSIterator<org.apache.uima.jcas.tcas.Annotation> |
createFilteredIterator(int problemBegin,
int problemEnd,
org.apache.uima.cas.Type sentenceType) |
org.apache.uima.jcas.JCas |
getJcas() |
void |
setJcas(org.apache.uima.jcas.JCas jcas) |
public ConstraintConstructor()
public ConstraintConstructor(org.apache.uima.jcas.JCas jcas)
public org.apache.uima.cas.FSIterator<org.apache.uima.jcas.tcas.Annotation> createFilteredIterator(int problemBegin, int problemEnd, org.apache.uima.cas.Type sentenceType)
problemBegin
- problemEnd
- sentenceType
- public abstract org.apache.uima.cas.FSMatchConstraint constructConstraintByBeginEnd(int problemBegin, int problemEnd, org.apache.uima.cas.ConstraintFactory cf, org.apache.uima.cas.FeaturePath sentenceBeginFeaturePath, org.apache.uima.cas.FeaturePath sentenceEndFeaturePath)
problemBegin
- problemEnd
- cf
- sentenceBeginFeaturePath
- sentenceEndFeaturePath
- public org.apache.uima.jcas.JCas getJcas()
public void setJcas(org.apache.uima.jcas.JCas jcas)
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.