Introduction
I. What is LexCheck
LexCheck is to validate the text syntax of lexical record(s) based on syntax defined in the SPECIALIST LEXICON Technical Report.
- Input
- lexical record(s) in text format
- Output
- Lexical records in text format
- Lexical records in xml format
- Lexical records in JavaObj
- Inflectional variables
- Option
- lexical records as the input for LexBuild and LexAccess DB
- Change indent in text and xml format
II. How does LexCheck work?
A lexical record is the record for all information for a term (entry). The lexicon is the data set contains all lexical records. These records are stored in text form in LexBuild/LexAccess database. LexCheck read into these records and validate the syntax. Bellows are the validation steps:
- Read in the lexical record(s)
- Parse lexical records line by line, token by token, filler by filler, etc..
- Validate order, occurence, format, etc.
- If error found, stop the program and sent out the error message
- If it passes validation:
- Store in JavaObj(s)
- Sent out lexical records in text format
- Sent out lexical records in xml format
- Sent out lexical records as in JavaObj
- Sent out inflectional variables
Accordingly, valid lexical record(s) can be converted/represented in three format:
- Text format
- Xml format
- Java Object (defined in lexCheck APIs)