Package edu.pitt.dbmi.nlp.noble.terminology.impl

Examples of edu.pitt.dbmi.nlp.noble.terminology.impl.NobleCoderTerminology.search()


    Terminology terminology = new NobleCoderTerminology("TIES_Pathology");
    //Terminology terminology = new NobleCoderTerminology("NCI_Thesaurus");
    PathHelper ph = new PathHelper(terminology);
    //ph.createAncestryCache();
    for(String text: Arrays.asList("melanoma","nevus","skin","margin")){
      for(Concept c: terminology.search(text)){
        long t = System.currentTimeMillis();
        // lookup paths
       
        List<ConceptPath> path = ph.getPaths(c);
        t = System.currentTimeMillis()-t;
View Full Code Here


      term.setSelectBestCandidate(false);
      term.setIgnoreUsedWords(true);
      term.setCachingEnabled(false);
      term.addConcept(c);
     
      for(Concept rc: term.search(getConcept().getSearchString())){
        rc.setTerminology(c.getTerminology());
        return rc;
      }
    }catch(TerminologyException ex){
      //ex.printStackTrace();
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.