Package edu.pitt.terminology.client

Examples of edu.pitt.terminology.client.IndexFinderTerminology.loadOntology()


      name = (name == null)?f.getName():name;
    }else if(owl != null){
      log("Loading OWL terminology from "+owl+"...");
      IOntology ont = POntology.loadOntology(owl);
      if(ont != null){
        terminology.loadOntology(ont,name);
      }
      name = (name == null)?ont.getName():name;
    }else if(obo != null){
      log("Loading OBO terminology from "+obo+"...");
      if(name == null){
View Full Code Here


      log("Loading BioPortal terminology from "+bioportal+"...");
      BioPortalRepository r = new BioPortalRepository();
      IOntology ont = r.getOntology(URI.create(bioportal));
      if(ont != null){
        ont.addPropertyChangeListener(this);
        terminology.loadOntology(ont,name);
      }
      name = (name == null)?ont.getName():name;
    }else if(txt != null){
      log("Loading Text terminology from "+txt+"...");
      File f = new File(txt);
View Full Code Here

    IOntology ont = POntology.loadOntology(url);
    ConceptRegistry.REGISTRY.put(url,SlideTutorConcept.class.getName());
   
    // create in-memory terminology from this ontology
    IndexFinderTerminology term = new IndexFinderTerminology();
    term.loadOntology(ont,null,true,true);
    term.setScoreConcepts(false);
    term.setSelectBestCandidate(false);
    term.setCachingEnabled(false);
   
    IndexFinderTerminology aterm = new IndexFinderTerminology();
View Full Code Here

    term.setScoreConcepts(false);
    term.setSelectBestCandidate(false);
    term.setCachingEnabled(false);
   
    IndexFinderTerminology aterm = new IndexFinderTerminology();
    aterm.loadOntology(POntology.loadOntology(ANATOMY_ONTOLOGY_URI),null,true,true);
    aterm.setCachingEnabled(false);
   
    // add a terminology to it
    CompositTerminology terminology = new CompositTerminology();
    terminology.addTerminology(term);
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.