Because of a lapse in government funding, the information on this website may not be up to date, transactions submitted via the website may not be processed, and the agency may not be able to respond to inquiries until appropriations are enacted. The NIH Clinical Center (the research hospital of NIH) is open. For more details about its operating status, please visit cc.nih.gov. Updates regarding government operating status and resumption of normal operations can be found at OPM.gov.

Sub-Term Mapping Tools

MetaMapPrefix: Package

I. Lib
  • ./lib/stmt2013dist.jar (stmt distribution jar file)

II. data

  • ./data/Config/lsf.properties, need to update follows:
    • ROOT_DIR
    • CORPUS_FILE
    • LVG_CONFIG_FILE
    • DB_NAME
  • ./data/HSqlDb/${DB_NAME}
  • ./data/tables/normInflvarCorpus.data

III. Java Code

  • import stmt.Api classes
    import gov.nih.nlm.nls.stmt.Api.LsfApi;
  • init lsfApi by config file
    String configFile = "/MetaMapPrefix/data/Config/lsf.properties";
    LsfApi lsfApi = new LsfApi(configFile);
  • Call the API method
    Vector prefixes = lsfApi.FindPrefixes(inStr);
    the format of prefix is: norm-subterm|EUI-1|EUI-2
  • Clean up
    lsfApi.CleanUp();

IV. To Run

  • classpath must include ./lib/stmt2013dist.jar