Retrieve Category and Inflection - from Database

  • Short Description: Retrieve category and inflection information from infl.table in the database.

  • Full Description:

    Retrieve the category and inflection information for a given term and append the agreement information to the information fields that follow Lvg's standard output. The information fields are filled with the row from the inflection and agreement table (LRAGR) from which the lookup was made.

    The results are sorted by category, inflections, and EUI.

    The additional information is put on the end of Lvg's standard output fields if the -m flag is specified. The formats of the additional fields are:

    EUI|inflected term|category|inflection and agreement|citation form|base form|

  • Difference:
    1. The schemes of inflection and category are different between Java and C version.
    2. The inflection database tables are different between Java and C version. Accordingly, some results will be different.
    3. The Java version does not add detail information at the end of each output record. However, these information can be obtained with -m option.


  • Features:
    1. Retrieve category and inflection from database.


  • Symbol: Ln

  • Examples:
    
    shell> lvg -f:Ln -m
    nurse
    nurse|nurse|128|1|Ln|1|E0043246|nurse|noun|base|nurse|nurse|
    nurse|nurse|128|512|Ln|1|E0043246|nurse|noun|singular|nurse|nurse|
    nurse|nurse|1024|1|Ln|1|E0043247|nurse|verb|base|nurse|nurse|
    nurse|nurse|1024|1024|Ln|1|E0043247|nurse|verb|infinitive|nurse|nurse|
    nurse|nurse|1024|262144|Ln|1|E0043247|nurse|verb|pres1p23p|nurse|nurse|
    
    More examples

  • Implementation Logic:
    1. Retrieve category and inflection from database.
    2. Sort the results by category, inflection, and EUI.
    3. Return nothing if the term is not found in the database.

  • Source Code: ToRetrieveCatInflDb.java

  • Hierarchy: Object -> Transformation -> ToRetrieveCatInflDb