Package org.apache.uima.cas

Examples of org.apache.uima.cas.FSMatchConstraint.match()


    if (windowAnnotation != null && (annotationFS.getBegin() < windowAnnotation.getBegin()
            || annotationFS.getEnd() > windowAnnotation.getEnd())) {
      return false;
    }
    FSMatchConstraint defaultConstraint = filter.getDefaultConstraint();
    return defaultConstraint.match(annotationFS);
  }

  public RutaBasic getAnchor(boolean direction, int pointer) {
    if(direction) {
      return getBeginAnchor(pointer);
View Full Code Here


            && (annotationFS.getBegin() < windowAnnotation.getBegin() || annotationFS.getEnd() > windowAnnotation
                    .getEnd())) {
      return false;
    }
    FSMatchConstraint defaultConstraint = filter.getDefaultConstraint();
    return defaultConstraint.match(annotationFS);
  }

  public RutaBasic getAnchor(boolean direction, int pointer) {
    if (direction) {
      return getBeginAnchor(pointer);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.