Examples of RouteElement


Examples of org.apache.ctakes.drugner.elements.RouteElement

      while (routeTokenItr.hasNext()){
        RouteAnnotation focusToken = (RouteAnnotation) routeTokenItr.next();
        String localRoute = null;
        if ((localRoute = findRouteElement(jcas, focusToken.getBegin(),
            focusToken.getEnd())) == null) {
          route = new RouteElement(focusToken.getCoveredText(),
              focusToken.getBegin(), focusToken.getEnd());
        } else {
          setRouteElement(localRoute, focusToken.getBegin(),
              focusToken.getEnd());
        }
View Full Code Here

Examples of org.apache.ctakes.drugner.elements.RouteElement

  public void setDurationElement(String name, int beginOffset, int endOffset) {
    duration = new DurationElement(name, beginOffset, endOffset);
  }

  public void setRouteElement(String name, int beginOffset, int endOffset) {
    route = new RouteElement(name, beginOffset, endOffset);
  }
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.