Sub-Term Mapping Tools

Applications: Word Sense Ambiguity Study

It is important to study the change of degree of ambiguity on ambiguous words for the word sense disambiguity. The SMT is used to analyze and find the degree of ambiguity of words between UMLS-Metathesaurus releases. Different versions of HSqlDb database files are provided for this application. Bellows provides a example to setup smt for this application:

  • Database Setup
    • Download the interested version of HSqlDb.${VERSION}.tgz
    • Unzip the downloaded file
    • Put the following files into {$STMT_DIR}/data/HSqlDb.
      • stmt${VERSION}.data
      • stmt${VERSION}.properties
      • stmt${VERSION}.script
  • Configuration Setup
    • Copy the current configuration file to ${STMT_DIR}/data/Config/smt.properties.${VERSION}
    • Change DB_NAME to stmt${VERSION}

  • To run
    • 2011AA
      cd ${STMT_DIR}/bin
      cd ./smt -p -pt -x:../data/Config/smt.properties.2011AA
      - Please input a term (type "Ctl-d" to quit) >
      TNFSF3
      TNFSF3|tnfsf3|C0812309|LTB gene|0
      - Please input a term (type "Ctl-d" to quit) >
      herbal medicine
      herbal medicine|herbal medicine|C0025125|Medicinal Herbs|0
      herbal medicine|herbal medicine|C1533719|Discipline of Herbal Medicine|0
      herbal medicine|herbal medicine|C2240391|Herbal medicine (product)|0

    • 2011AB (default)
      cd ${STMT_DIR}/bin
      cd ./smt -p -pt
      - Please input a term (type "Ctl-d" to quit) >
      TNFSF3
      TNFSF3|tnfsf3|C0812309|LTB gene|0
      TNFSF3|tnfsf3|C1705747|LTB wt Allele|0
      - Please input a term (type "Ctl-d" to quit) >
      herbal medicine
      herbal medicine|herbal medicine|C0025125|Medicinal Herbs|0
      herbal medicine|herbal medicine|C0242388|Phytotherapy|0
      herbal medicine|herbal medicine|C1533719|Discipline of Herbal Medicine|0
      herbal medicine|herbal medicine|C2240391|Herbal medicine (product)|0