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

LexCheck

  • Descriptions:
    Checks the syntax of lexical records and generates text, xml output, or input format for LexBuild/LexAccess database from a text input file. Error messages will be generated if there are errors.

  • Usage:
    Synopsis:
      LexCheck [options]
     
    Description:
      Validates text syntax in LexRecords and convert them among text, Xml, and Java objects from an input file.
     
    Options:
      -d:     Print syntax validation debug message
      -f:b    Print lexical records in LexBuild input format
      -f:t    Print lexical records in text format
      -f:tx   Print lexical records in text and Xml format
      -f:x    Print lexical records in Xml format
      -f:nxh   Print Xml header with version information
      -h      Print program help information (this is it).
      -hs     Print option's hierarchy structure.
      -i:STR  Define input file
      -o:STR  Define output file
      -v:     Return the current version identification of LexCheck
      -x:STR  Loading an alternative configuration file.
    

  • Inputs:
    lexical records file in text format

  • Outputs:
    • lexical record in text format
    • lexical record in xml format
    • Error message if any

  • Notes:
    • Must include lexCheck${YEAR}dist.jar (for LVG and XML APIs)
    • Benchmark run time for Lexicon: 5 ~ 10 sec.

  • Examples:
    • shell> LexCheck -i:LEXICON (check the Lexicon file and sent output to screen)
    • shell> LexCheck -f:x -i:in.txt (send output in Xml format to screen)