Package gov.nih.nlm.nls.metamap

Examples of gov.nih.nlm.nls.metamap.MetaMapApiImpl


    Properties confProperties = Conf.loadConfiguration(new File("conf/metamap.conf"));
   
    /**
     * set parameters (set parameters in conf/metamap.properties)
     */
    api = new MetaMapApiImpl();
      api.setHost(confProperties.getProperty("serverHostname"));
      api.setPort(Integer.parseInt(confProperties.getProperty("serverPort")));
     
    List<String> theOptions = FileOps.getFileContentAsList(new File("conf/metamap.parameters").toURI().toURL());
      if (theOptions.size() > 0) {
View Full Code Here

TOP

Related Classes of gov.nih.nlm.nls.metamap.MetaMapApiImpl

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.