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.
Format | Description | Check Items | Fix Action | Example & Implementation |
---|---|---|---|---|
{base=filler | citation form | Space/Tab:
| remove and trim extra space | CheckCitation.CheckContent( )
|
Order:
| Swap citation with the top spellingVar sorted by the above order | CheckCitation.CheckContents( )
| ||
glreg: Check correct ending of citation if cat=noun and is Greco-Latin: variants=glreg or group(glreg) | N/A | CheckCitation.CheckContents( )
| ||
regd: Check correct ending of citation if cat=verb or adj and variants=regd (vowel + consonant) | N/A | CheckCitation.CheckContents( )
| ||
spelling_variant=filler | spelling variants (base forms) | Space/Tab:
| remove and trim extra space | CheckSpellingVars.CheckContent( )
|
No duplicates: Can't be duplicated of base or other spellVars | Remove duplicates | CheckSpellingVars.CheckContents( )
| ||
glreg: Check correct ending of citation if cat=noun and is Greco-Latin: variants=glreg or group(glreg) | N/A | CheckSpellingVars.CheckContents( )
| ||
regd: Check correct ending of citation if cat=verb or adj and variants=regd (vowel + consonant) | N/A | CheckSpellingVars.CheckContents( )
| ||
entry=EUI | Entry Unique Identifier | A seven digit number preceded by the letter "E" | N/A | E0001234 Done in syntax check |
Can't be E0000000 | N/A | E0000000CheckEui.CheckContent( )
| ||
cat=part of the speech | category | Check if one of follows:
| N/A | CheckCategory.CheckContent( )
|
| variants | Space/Tab:
| Remove and trim extra space | CheckVariants.CheckContent( )
|
No duplicates | Remove duplicates | CheckVariants.CheckContents( )
| ||
irreg base:
| N/A | CheckVariants.CheckContents( )
| ||
| nominalizations | Space/Tab:
| Remove and trim extra space | CheckNominalization.CheckContent( )
|
No "||" | N/A | nominalization=base|| nominalization_of=base|| CheckNominalization.CheckContent( )
| ||
Nominalization category | N/A | CheckNominalization.CheckContent( )
| ||
No duplicates | Remove duplicates | CheckNominalization.CheckContents( )
| ||
acronym_of=acronyms | acronyms | Space/Tab:
| Remove and trim extra space | CheckAcronyms.CheckContent( )
|
No duplicates | Remove duplicates | CheckAcronyms.CheckContents( )
| ||
abbreviation_of=abbreviations | abbreviations | Space/Tab:
| Remove and trim extra space | CheckAbbreviations.CheckContent( )
|
No duplicates | Remove duplicates | CheckAbbreviations.CheckContents( )
| ||
class_type=class type | class types | Space/Tab:
| Remove and trim extra space | CheckClassTypes.CheckContent( )
|
base form | N/A | class_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 EUI | N/A | class_type=informal|base|referenced citation class_type=informal|base|referenced citation|referenced EUI CheckClassTypes.CheckContent( )
| ||
No duplicates | Remove duplicates | CheckClassTypes.CheckContents( )
| ||
} | ending bracket | N/A | Done in syntax check |