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