Return Known Acronym Expansions

  • Short Description: Return known acronym expansions

  • Full Description:

    Given an acronym, this flow component returns known acronym expansions from the lexicon. The results are sorted in alphabetical order.

    The -m option add acronym or abbreviation at the end of output.

  • Difference:
    1. Java version returns the original case of acronym expansions from database.
    2. Java version sorts the output by ASCII order (ignoring case).
    3. Java version uses the latest data of acronym expansions.

  • Features:
    1. Return known acronym expansions for an input term.
    2. All punctuations and cases of the input term are ignored.

  • Symbol: a

  • Examples:
    shell> lvg -f:a
    IOTA|information overload testing aid|2047|1|a|1|
    shell> lvg -f:a -m
    IOTA|information overload testing aid|2047|1|a|1|acronym|Unique|
    More examples

  • Implementation Logic:
    1. Strip punctuations from the input term.
    2. Lowercase the input term.
    3. Performed a SQL query to get acronym expansions from database.
    4. Sort the output by alphabetical order (Db.ExpansionComparator).

  • Source Code:

  • Hierarchy: Object -> Transformation -> ToExpansions