Manual Installation Instructions


This page shows what the Lexical Tools installation script does. A manual installation can be performed to replace the installation script when needed (such as installing Lvg in Mac). It is not recommended for general users to install the Lexical Tools manually. Please refer to installation instructions for installing the Lexical Tools.



  1. Create a new directory for the Lexical tool on your machine.
  2. Download the zip archive: lvg${YEAR}.tgz, and place it in the newly created directory. "${YEAR}" is the version identification (year).
  3. Uncompress or Unzip the archive. Be careful to use a version of unzip that allows long filenames and that will recreate the full directory structure.

    You should now have six files and nine sub-directories under lvg${YEAR}, as shown in follows:

    • build.xml
    • install_win.bat
    • overview.html
    • ReadMe.txt

    • /bin
    • /data
    • /docs
    • /examples
    • /install
    • /lib
    • /loadDb
    • /logs
    • /sources

Please refer to Repository Lists for details.


I. JRE/Java

II. Command Line scripts:
Manually modify shell scripts, fields, lgt, luiNorm, lvg, norm, toAscii, and wordInd, under ${LVG_DIR}/bin/ as follows:

JAVAThe JRE/bin/java you will use
  • JAVA=/Projects/lvg2014/bin/jre1.7.0_40/bin/java
  • JAVA=java
LVG_DIRThe full path of the top directory of lvg2014 LVG_DIR=/Projects/lvg2014
  • lib/lvg2014dist.jar
    => lvg2014dist.jar includes classes of norm, luiNorm, lvg, wordInd, toAscii, lgt, all lvg API classes, jdbc driver of HSqlDb, and IBM icu4j.jar library
  • ${LVG_DIR}
    => the full path of the top directory of lvg2014, this allows lvg to find the default configuration file, data/config/
  • CLASSPATH=${LVG_DIR}:${LVG_DIR}/lib/lvg2014dist.jar

    III. Configuration file:
    Manually modify configuration file, ${LVG_DIR}/data/config/, as follows:

    LVG_DIRThe full path of the top directory of lvg2014 LVG_DIR=/Projects/lvg2014

    Make sure values of database variables are setup appropriately in the configuration file, see configuration setup for details

    Now you are ready for running norm, luiNorm, wordInd, toAscii, lvg, fields, and lgt.