The SPECIALIST Lexicon

Single Lexical Record - Content Check

This page describes the design specifications of content check for a single lexical record CheckLexRecord. All top levels of contents (citation, spelling variants, EUI, category, abbreviations, acronyms) are checked. Also, lower levels of contents (catEntry, variants, and nominalizations) are checked if they are specified.

FormatDescriptionCheck ItemsFix ActionExample & Implementation
{base=fillercitation form Space/Tab:
  • No extra spaces are allowed
  • No space at the beginning or ending
remove and trim extra spaceCheckCitation.CheckContent( )
Order:
  • Pure ASCII
  • No punctuation
  • Shorter Length
  • Alphabetic order
Swap citation with the top spellingVar sorted by the above orderCheckCitation.CheckContents( )
glreg:
Check correct ending of citation if cat=noun and is Greco-Latin: variants=glreg or group(glreg)
N/ACheckCitation.CheckContents( )
regd:
Check correct ending of citation if cat=verb or adj and variants=regd (vowel + consonant)
N/ACheckCitation.CheckContents( )
spelling_variant=fillerspelling variants (base forms)Space/Tab:
  • No extra spaces are allowed
  • No space at the beginning or ending
remove and trim extra spaceCheckSpellingVars.CheckContent( )
No duplicates:
Can't be duplicated of base or other spellVars
Remove duplicatesCheckSpellingVars.CheckContents( )
glreg:
Check correct ending of citation if cat=noun and is Greco-Latin: variants=glreg or group(glreg)
N/ACheckSpellingVars.CheckContents( )
regd:
Check correct ending of citation if cat=verb or adj and variants=regd (vowel + consonant)
N/ACheckSpellingVars.CheckContents( )
entry=EUIEntry Unique IdentifierA seven digit number preceded by the letter "E"N/AE0001234
Done in syntax check
Can't be E0000000N/AE0000000
CheckEui.CheckContent( )
    cat=part of the speechcategoryCheck if one of follows:
  • adj
  • adv
  • aux
  • comple
  • conj
  • det
  • modal
  • noun
  • prep
  • pron
  • verb
N/ACheckCategory.CheckContent( )
  • variant=filler
  • variants=filler
variants Space/Tab:
  • No extra spaces are allowed
  • No space at the beginning or ending
Remove and trim extra spaceCheckVariants.CheckContent( )
No duplicatesRemove duplicatesCheckVariants.CheckContents( )
irreg base:
  • must be base forms
  • all base forms should have irreg (with known exceptions)
N/ACheckVariants.CheckContents( )
  • nominalization=citation|noun|EUI
  • nominalization=citation|noun

  • nominalization_of=citation|verb|EUI
  • nominalization_of=citation|verb

  • nominalization_of=citation|adj|EUI
  • nominalization_of=citation|adj
nominalizations Space/Tab:
  • No extra spaces are allowed
  • No space at the beginning or ending
Remove and trim extra spaceCheckNominalization.CheckContent( )
No "||"N/Anominalization=base||
nominalization_of=base||
CheckNominalization.CheckContent( )
Nominalization categoryN/ACheckNominalization.CheckContent( )
No duplicatesRemove duplicatesCheckNominalization.CheckContents( )
    acronym_of=acronymsacronyms Space/Tab:
  • No extra spaces are allowed
  • No space at the beginning or ending
Remove and trim extra spaceCheckAcronyms.CheckContent( )
No duplicatesRemove duplicatesCheckAcronyms.CheckContents( )
    abbreviation_of=abbreviationsabbreviations Space/Tab:
  • No extra spaces are allowed
  • No space at the beginning or ending
Remove and trim extra spaceCheckAbbreviations.CheckContent( )
No duplicatesRemove duplicatesCheckAbbreviations.CheckContents( )
    class_type=class typeclass types Space/Tab:
  • No extra spaces are allowed
  • No space at the beginning or ending
Remove and trim extra spaceCheckClassTypes.CheckContent( )
base formN/Aclass_type=archaic|base
class_type=source|base|source type
class_type=informal|base|referenced citation
class_type=informal|base|referenced citation|referenced EUI
CheckClassTypes.CheckContent( )
Cross-referenced EUIN/Aclass_type=informal|base|referenced citation
class_type=informal|base|referenced citation|referenced EUI
CheckClassTypes.CheckContent( )
No duplicatesRemove duplicatesCheckClassTypes.CheckContents( )
}ending bracket N/ADone in syntax check