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

Add a New Field

This page provides a guideline of adding a new field to the syntax of lexical records. A field is in the slot=filler format.

  • Introduction
    A new field in the lexical record is proposed for 2020+ releases. It's format is briefed as follows:
    CodeExampleNotes
    class_type=archaic|arg1
    • class_type=archaic|colde
    • arg1: base form
    class_type=source|arg1|arg2
    • class_type=source|colour|british
    • arg1: base form
    • arg2: source
    class_type=informal|arg1|arg2|arg3
    • class_type=informal|howd|how'd
    • class_type=informal|nite|night|E0042638
    • class_type=informal|nite|evening|E0026437
    • arg1: base form
    • arg2: cross-referenced citation form
    • arg3: EUI (optional)
    class_type=other
    • class_type=other
     
    class_type=TBD
    • class_type=TBD
     

  • Implement Procedures
    • Check Syntax
      • ./Gram/CheckGrammer.java
      • ./Gram/UpdateClassType.java
      • ./Gram/CheckFormatClassType.java

      • ./Lib/CheckSt.java
      • ./Lib/ErrMsg.java

      • ./Cat/Adj/CheckAdj.java
      • ./Cat/Adv/CheckAdv.java
      • ./Cat/Auxi/CheckAux.java
      • ./Cat/Det/CheckDet.java
      • ./Cat/Modal/CheckModal.java
      • ./Cat/Noun/CheckNoun.java
      • ./Cat/Pron/CheckPron.java
      • ./Cat/Verb/CheckVerb.java

    • Check Contents
      • ./CheckCont/CheckLexRecord.java
      • ./CheckCont/CheckClassTypes.java
      • ./CheckCont/ErrMsgUtilLexRecord.java
      • ./CheckCont/LexRecordUtil.java

    • Check Contents - crossed reference
      • ./CheckCont/CrossCheckLexRecords.java
      • ./CheckCont/CrossCheckClassTypeEui.java
      • ./CheckCont/ErrMsgUtil.java
      • ./CheckCont/ErrMsgUtilLexicon.java
      • ./CheckCont/ErrMsgUtilLexRecord.java

  • Tests
    • ./bin/ValidateSyntaxFromTextFile
    • ./bin/ValidateContentFromTextFile
    • ./bin/LexCrossCheck
    • TBD
    • ./bin/GenerateInflVars
    • ./bin/LexCheck
    • ./bin/ToJavaObjectFromTextFile
    • ./bin/ToJavaObjectFromXmlFile
    • ./bin/ToXmlFromTextFile