Configuration Setup
This version of lvg Java provides users choices of different set up options through the configuration file. The default configuration file is ${LVG_DIR}/data/config/lvg.properties. The variables used in the configuration file are listed in the following table. "Relative path" refers to the path relative to lvg top directory, ${LVG_DIR}.
I. Configuration variables
Variable Names | Explanations | Variable Values (Default) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Directories and files | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
LVG_DIR | the absolute path of the lexical tool directory |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
LVG_STOP_WORD_FILE | the relative path of the stop word file |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
LVG_NONINFO_WORD_FILE | the relative path of the non-info word file |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
LVG_CONJ_WORD_FILE | the relative path of the conjunction file |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
LVG_REMOVE_S_FILE | the relative path of the remove plural (s) rules file |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
LVG_DIACRITICS_FILE | the relative path of the diacritics file |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
LVG_LIGATURES_FILE | the relative path of the ligatures file |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
LVG_UNICODE_SYNONYM_FILE | the relative path of the Unicode synonym file |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
LVG_UNICODE_SYMBOL_FILE | the relative path of the symbols & punctuation mapping file |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
LVG_UNICODE_FILE | the relative path of the Unicode mapping file |
|
II. Syntax
III. File Location
Notes: The lvg installation program generates ${LVG_DIR}/data/config/lvg.properties automatically (from ${LVG_DIR}/data/config/lvg.properties.TEMPLATE) according to options users chose during the installation.