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

ToJavaObjectFromXmlFile

  • Descriptions:
    Convert lexical records from Xml format file to java object, and use JavaObj to generate outputs: Lexicon and inflVars in text format.

  • Usage:
    shell>ToJavaObjectFromXmlFile <inFile (text)> <outLexiconFile> <outInflVarsFile> <-v: verbose>

  • Inputs:
    inFile: lexical records file in Xml format

  • Outputs:
    outLexiconFile: lexical records in text format
    outInflVarsFile: inflectional variants in text format

  • Notes:
    • Must include:
      • lexCheck${YEAR}dist.jar (for LVG and XML APIs) or
      • lexCheck${YEAR}api.jar and lvg${YEAR}api.jar
    • Benchmark run time for Lexicon to generate both Lexicon and inflVars: 55 ~ 60 sec.

  • Examples:
    • shell> ToJavaObjectFromXmlFile lexicon.xml lexicon.out inflVars.out -v
    • shell> ToJavaObjectFromXmlFile lexicon.xml lexicon.out inflVars.out