Lexical Tools

Antonyms Tables

  • Tables:

    LexAntonym
    NameTypePropertiesNotes
    keyFormNpLcCHAR(32)Index Key word (of ant1) without punctuations and lowercased
    ant1CHAR(32).Antonmy 1
    eui1CHAR(8).EUI of antonym 1
    ant2CHAR(32).Antonym 2
    eui2CHAR(8).EUI of antonym 2
    catINT. Category
    typeCHAR(4).Type (B|UB|AB1|AB2|NA)
    negationCHAR(4).Negation (N1|N2|BN1|BN2|O)
    domainCHAR(25).Domain
    sourceCHAR(4).Source of antonym (LEX|SD|PD|CC|SC)

    Notes:
    The maximum length for keyFormNpLc is 26. We use CHAR(32) for this column.
    The maximum length for ant1 is 26. We use CHAR(32) for this column.
    The maximum length for ant2 is 26. We use CHAR(32) for this column.
    The maximum length for type is 3. We use CHAR(4) for this column.
    The maximum length for negation is 3. We use CHAR(4) for this column.
    The maximum length for domain is 17. We use CHAR(25) for this column.
    The maximum length for source is 3. We use CHAR(4) for this column.

  • SQL Examples:

    • Find antonyms for "XXX"
      1. "xxx" = XXX.toLowerCase() and strip punctuation;
      2. SELECT ant2 FROM LexAntonym WHERE keyFormNpLc = "xxx"