Examples of StartDateElement


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

      DateAnnotation focusToken = (DateAnnotation) dateTokenItr.next();
      String localDate = null;
      if ((localDate = findStartDateElement(jcas, focusToken.getBegin(),
          focusToken.getEnd())) == null) {

        startDate = new StartDateElement(focusToken.getCoveredText(),
            focusToken.getBegin(), focusToken.getEnd());
      } else {
        setStartDateElement(localDate, focusToken.getBegin(),
            focusToken.getEnd());
      }
View Full Code Here

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

    associatedCodeSecondary = new AssociatedPrimaryCodeElement(name, beginOffset,
        endOffset);
  }

  public void setStartDateElement(String date, int beginOffset, int endOffset) {
         startDate = new StartDateElement(date, 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.