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.

Text Categorization

Installation Package

This TC Java package installs the Text Categorization software as follows:

Repository:
${ROOT_DIR}/install

  • bin: installation scripts for Unix, Linux, and Window
  • build.xml: used by ant to compile
  • classes: Java classes
  • lib: Java jar files
  • Msg: template files for text message
  • Notes: technical notes for the installation package
  • ReadMe.txt: notes for users to install TC
  • sources: java source codes

Procedures:

  • Go to the root directory of the TC, ${TC_DIR}
  • >./install/bin/install_{OS}
    • Install JRE
    • Generate configuration file, ${TC_DIR}/data/Config/tc.properties
    • Generate script programs
    • Verify the installation

Shell Scripts:

  • install_linux.sh: installation script on Linux
  • install_win.bat: installation script on PC platform
  • install_test.sh: installation testing script on Linux

Java Class:

  • Param.java: all parameters (need to be modified for a new yearly release).
  • InstallObject.java: returns rootDir_, classPath, etc..
  • Install.java: main program for installing TC
  • CreateScripts.java: create mlt, jdi, sti, stri, stWsd scripts
  • Verify.java: Verify installation by comparing results

Yearly Update:

  • build.xml
  • bin/install_*
  • sources/gov/nih/nlm/nls/tc/install/Setup/Param.java