Manual Installation Instructions

Introduction

This page shows what the Lexical tools installation script does. A manual installation can be performed to replace the installation script. It is not recommended for general users to install the Lexical tools manually. Please refer to installation instructions for installing the Lexical tools.

Prerequisites

Install

  1. Create a new directory for the Lexical tool on your machine.
  2. Download the zip archive: lvg2009.tgz, and place it in the newly created directory. "2009" 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 five files and nine sub-directories under lvg2009, as shown in follows:

    • build.xml
    • overview.html
    • ReadMe.txt
    • SPECIALIST_NLP_TOOLS_TERMS_AND_CONDITIONS.txt

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

Please refer to Repository Lists for details.

SetUp

  1. Include the lib/lvg2009dist.jar file to your CLASSPATH environment variable
    => lvg2009dist.jar includes classes of norm, luiNorm, lvg, wordInd, toAscii, lgt, all lvg api classes, jdbc driver of HSqlDb, and IBM icu4j.jar library

  2. Include the full path of the top directory of lvg2009 to your CLASSPATH environment variable
    => This allows lvg to find the default configuration file, data/config/lvg.properties

  3. Change the value of variable LVG_DIR to the full path of the top directory of lvg2009 in the configuration file, ${LVG_DIR}/data/config/lvg.properties

  4. 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, and Lgt.