Examples of UnknownSmokerNamedEntityAnnotation


Examples of org.apache.ctakes.smokingstatus.type.UnknownSmokerNamedEntityAnnotation

    // ---
    //
    Iterator<?> neItr = indexes.getAnnotationIndex(
        UnknownSmokerNamedEntityAnnotation.type).iterator();
    while (neItr.hasNext()) {
      UnknownSmokerNamedEntityAnnotation neAnn = (UnknownSmokerNamedEntityAnnotation) neItr
          .next();
      System.out.println("***UnknownNamedEntity|"
          + neAnn.getCoveredText());
      classVal = Const.CLASS_UNKNOWN;
    }
    // ---

    // System.out.println("***" + classVal + " for " + classAttributeName +
View Full Code Here

Examples of org.apache.ctakes.smokingstatus.type.UnknownSmokerNamedEntityAnnotation

        ocArr.set(ocArrIdx, oc);
        ocArrIdx++;
      }

      UnknownSmokerNamedEntityAnnotation neAnnot = new UnknownSmokerNamedEntityAnnotation(jcas); //modification
      neAnnot.setBegin(neBegin);
      neAnnot.setEnd(neEnd);
      neAnnot.setDiscoveryTechnique(CONST.NE_DISCOVERY_TECH_DICT_LOOKUP);
      neAnnot.setOntologyConceptArr(ocArr);
      neAnnot.addToIndexes();
    }
  }
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.