Examples of StrengthElement


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

        

            String localStrength = null;
            if ((localStrength = findStrengthElement(jcas, focusToken
                .getBegin(), focusToken.getEnd())) == null) {
              strength = new StrengthElement(focusToken.getCoveredText(),
                  focusToken.getBegin(), focusToken.getEnd());
            } else {
              if (strength != null) {
                // check for range and compare
                int spacePosition = strength.getStrengthMention()
View Full Code Here

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

    confidence = new ConfidenceScoreElement(score, beginOffset, endOffset);
  }

  public void setStrengthElement(String name, int beginOffset, int endOffset) {
    strength = new StrengthElement(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.