Generate Synonyms

  • Short Description: Generate synonyms

  • Full Description:

    This flow retrieves all synonyms of the input from the synonym table in the database.

    The results are sorted in a case insensitive alphabetical order.

    The -m options shows the details information of the synonyms records. Its format is:

    |FACT|lowercase of the term|term|category|synonym|category|

  • Difference:
    1. The Java version handles input words with punctuations or uppercased characters.

  • Features:
    1. Find synonyms of an input term from database.
    2. Sort synonyms by alphabetic order.

  • Symbol: y

  • Examples:
    shell> lvg -f:y -m
    More examples

  • Implementation Logic:
    1. Remove punctuation from the input term.
      • Lowercase characters from input term.
      • Find synonyms of the input term from database.
    2. Assign category and inflection (base) to the LexItem.
    3. Sort synonyms in a case insensitive alphabetic order.

  • Source Code:

  • Hierarchy: Object -> Transformation -> ToSynonyms