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.

LexCheck

Configuration Setup

This version of LexCheck Java provides users a choice of different set up options through the configuration file. The default configuration file is $LC_DIR/data/config/lexCheck.properties. The variables used in the configuration file are listed in the following table. "Relative path" refers to the path relative to $LC_DIR.

I. Configuration variables

Variable NamesExplanations Variable Values (Default)
Directories and files
LC_DIR the absolute path of the lexical tool directory
  • /Projects/lexCheck${YEAR}/
  • d:/Projects/lexCheck${YEAR}/
  • Variables
    TEXT_INDENTIndent for text output in lexRecord
    • \t
    XML_INDENTIndent for Xml output in lexRecord
    • "  "
    XML_HEADERContent of Xml output
    • <?xml version="1.0" encoding="UTF-8"?>
    PREPOSITION_FILErelative location for prepositions file
    • data/prepositions.data
    IRREG_EXP_FILErelative location for irreg exceptions file
    • data/prepositions.data

    II. Syntax

    • # -- comment lines begin with "#".
    • variable=value: set variable to value

    III. File Location

    • default: data/config/lexCheck.properties
    • may be specified by option -x:file_absolute_path

    Notes: The lexCheck installation program generates data/config/lexCheck.properties automatically (from data/config/lexCheck.properties.TEMPLATE) according to options users chose during the installation.