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

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)