Package org.apache.uima.jcas.cas

Examples of org.apache.uima.jcas.cas.StringArray.toStringArray()


    oc.setCodingScheme("METAMAP");
    StringArray tuiArr = (StringArray) annoCandidate
        .getFeatureValue(tuiFeature);
    List<String> tuis = null;
    if (tuiArr != null)
      tuis = Arrays.asList(tuiArr.toStringArray());
    concepts.put(cui, oc);
    return checkMedications && tuis != null ? !Collections.disjoint(
        setMedicationAbrs, tuis) : false;
  }
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.