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.

Lexical Tools

  • Lgt (Lexical Gui Tool)
  • Java


Introduction

Lvg Gui Tools (lgt) is a suite of utilities that can generate, transform, and filter lexical variants from the given input. This tool contains lvg, norm, luiNorm, and wordInd with providing graphic user interfaces. Lgt is developed in Java Swing and run on Java supported platforms.

The detail design, usage of graphic user interface pages, and other issues are documents on Design Documents

Setup

Follow the installation instructions to install lexical tool and run lvg program. Check the following items only if you don't use the provided script to install the Lexical tools.

  • CLASSPATH:
    1. include Lexical tools distribution jar file, ${LVG_DIR}/lib/lvg${YEAR}dist.jar, in your CLASSPATH
    2. include lvg top directory, ${LVG_DIR}, in your CLASSPATH

  • Database: use the default Db, HSqlDb or your own DB (requires tables reloaded).

  • Configuration File: assign the full path of the top directory of lvg${YEAR} to a variable named LVG_DIR in configuration file, ${LVG_DIR}/data/config/lvg.properties.

Test Run

  • run java program

    Enter the command:

    
    shell> lgt <config> 
    

    where:

    • lgt: lgt script to run lvg Gui Tools Java class

  • basic operations
    • Enter a term in the term box in the input panel.
    • Set up input options.

    • Choose a program (lvg, norm, luiNorm, or wordInd) in the flow mutate panel.
    • Set up mutate/flow options.
    • Press run button

    • Select output options
    • View results from the output panel.

    • Use pull down menu, File->Exit to quite the program.