Lexical Tools

Synonyms Tables

  • Tables:

    LexSynonym
    NameTypePropertiesNotes
    keyFormNpLcCHAR(80)Index Key word without punctuations and lowercased
    keyFormCHAR(80).Key Word
    cat1int. Category of key
    aSynonymCHAR(80).synonym
    cat2int.Category of synonym
    sSourceCHAR(8).Source of synonym (CUI|EUI|ORG_LVG)

    Notes:
    The maximum length for keyFormNpLc is 71. We use CHAR(80) for this column.
    The maximum length for keyForm is 72. We use CHAR(80) for this column.
    The maximum length for synonym is 72. We use CHAR(80) for this column.

  • SQL Examples:

    • Find synonyms for "XXX"
      1. "xxx" = XXX.toLowerCase() and strip punctuation;
      2. SELECT aSynonym FROM LexSynonym WHERE keyFormNpLc = "xxx"