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

Examples of edu.pitt.dbmi.nlp.noble.terminology.impl.LexEVSRestTerminology


      if("umls".equalsIgnoreCase(type)){
        String [] p = terminologyParams.get(type).split("\\|");
        if(p.length == 4)
          term = new UMLSTerminology(p[0].trim(),p[1].trim(),p[2].trim(),p[3].trim());
      }else if(type.startsWith("evs")){
        term = new LexEVSRestTerminology(terminologyParams.get(type));
      }else if(type.startsWith("bioportal")){
        term = new BioPortalTerminology();
        ((BioPortalTerminology)term).setOntology(terminologyParams.get(type));
      }else if(type.startsWith("indexfinder.")){
        String name = terminologyParams.get(type).trim();
View Full Code Here


          map.put("object",ont);
          ontologies.add(map.get("object"));
          repository.put(""+map.get("uri"),map);
        }else if((""+map.get("type")).equals(IRepository.TYPE_TERMINOLOGY)){
          if((""+map.get("format")).equalsIgnoreCase("EVS")){
            map.put("object",new LexEVSRestTerminology(""+map.get("location")));
            terminologies.add(map.get("object"));
            repository.put(""+map.get("uri"),map);
          }else if((""+map.get("format")).equalsIgnoreCase("HTTP")){
            map.put("object",new RemoteTerminology(URI.create(""+map.get("location")).toURL()));
            terminologies.add(map.get("object"));
View Full Code Here

TOP

Related Classes of edu.pitt.dbmi.nlp.noble.terminology.impl.LexEVSRestTerminology

Copyright © 2018 www.massapicom. 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.