Retrieve Lexical Name (Citation)

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

  • Full Description:

    This flow retrieves a lexical name (base=, BAS) citation form from lexicon for an input term. In 2014 release, an algorithm is developed to uniquely dertermine the citation form and the order of associated spelling variants. If the input term is not found in the lexicon, it returns nothing. By definition, a lexical name (base=, BAS) citation form is a base (BAS) form for each inflectional variant associated with the entry. It is arbitrarily chosen from the uninflected (base) forms of the entry and can be thought of as standing for all the inflectional forms and spelling variants in an entry. After 2014, citation form is modified to be chosen from of all base forms (citationforms and spelling variants) in the following order:

    • Pure ASCII
    • No punctuation
    • Shorter length
    • By alphabetic order
    Accordingly, one term should has only one lexical name for one category.a Howevr, citation form is not necessary the preferred form that are most commonly seen. 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|color|1152|1|Ct|1|
    colour
    colour|color|1152|1|Ct|1|
    
    megaoesophagus
    megaoesophagus|megaesophagus|128|1|Ct|1|
    megaesophagus
    megaesophagus|megaesophagus|128|1|Ct|1|
    
    zolasepam
    zolasepam|zolasepam|128|1|Ct|1|
    zolazepam
    zolazepam|zolasepam|128|1|Ct|1|
    
    slept
    slept|sleep|1024|1|Ct|1|
    
    resume
    resume|resume|1152|1|Ct|1|
    résumé
    résumé|resume|128|1|Ct|1|
    resumé
    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