Retrieve Lexical Name

  • Short Description: Retrieve a lexical name (base=, BAS) form for an input term.

  • Full Description:

    This flow retrieves a lexical name (base=, BAS) form from lexicon for an input term. If the input term is not found in the lexicon, it returns nothing. By definition, a lexical name (base=, BAS) form is the base (BAS) form for each inflectional variant associated with the entry. It is arbitrarily chosen from the uninflected (citation) forms of the entry and can be thought of as standing for all the inflectional forms and spelling variants in an entry. Accordingly, one term should has only one lexical name for one category. This flow component is useful when users prefer less number of outputs for uninflected form.

    The output of this flow may show several records of same spelling uninflected forms. For example, use "thought" as input, the results shows two records of "think". This is because that "thought" is both the past and past participle inflections of "think". An Output filter option, -CR:o, combine records by output term, can be used to eliminate records with same output term.

    The -m option shows additional information includes:

    
    inflected term|uninflected term|categories|inflections|lexical name|EUI|
    
    or 
    
    nothing if the input term is not found in lexicon.
    


  • Difference: None (new flow component).

  • Features:
    1. The input term is viewed as a term.
    2. This term is used (as the inflected term) to find the lexical name from lexicon.


  • Symbol: Ct

  • Examples:
    
    shell> lvg -f:Ct -CR:o
    color|color|1152|1|Ct|1|
    colour|color|1152|1|Ct|1|
    
    megaoesophagus|megaesophagus|128|1|Ct|1|
    megaesophagus|megaesophagus|128|1|Ct|1|
    
    zolasepam|zolazepam|128|1|Ct|1|
    zolazepam|zolazepam|128|1|Ct|1|
    
    slept|sleep|1024|1|Ct|1|
    
    resume|resume|1152|1|Ct|1|
    résumé|resume|128|1|Ct|1|
    resumé|resume|128|1|Ct|1|
    
    More examples

  • Implementation Logic:
    1. Find all lexical name(s) for the input term.
    2. Return nothing if not found from lexicon.

  • Source Code: ToCitation.java

  • Hierarchy: Object -> Transformation -> ToCitation