Lexical Tools

Generate Derivational Variants - Specifying Output Categories

  • Short Description: Generate derivational variants, specifying the Bit OR'd output categories.

  • Full Description:

    The derivational operations can be qualified to restrict output category by a integer. The values of this integer for syntactic category are the OR'ing (or addition) of the following:

    CategoryValue
    adj1
    adv2
    aux4
    compl8
    conj16
    det32
    modal64
    noun128
    prep256
    pron512
    verb1024

    In some domains, nouns are the vast majority of terms in the vocabulary. Furthermore, for terms which can be interpreted as either nouns or as other categories, the noun sense is much more likely. Under these circumstances, one might want to restrict one's output to nouns.

    As the getDerivation flow, the results are sorted by category, length, and case insensitive alphabetical order.

  • Difference: Refer to derivations.

  • Features:
    1. Fact: Find all derivational variants from derivation table.
    2. Rules: Find all derivational variants from morphology rules.
    3. Assign category and inflection for all outputs.
    4. Filter outputs according to the restriction category.
    5. Filter outputs according to the restriction flag (-kd).
    6. Display outputs by the frequency of categories.


  • Symbol: dc

  • Examples:
    
    shell> lvg -f:dc~128 -m
    legal
    legal|legalism|128|1|d|1|FACT|legal|1|E0037147|legalism|128|E0037148|S|O|None|
    legal|legality|128|1|d|1|FACT|legal|1|E0037147|legality|128|E0037152|S|O|None|
    
    chronology
    chronology|geochronology|128|1|d|1|FACT|chronology|128|E0016955|geochronology|128|E0225433|P|O|geo|
    chronology|chronologer|128|1|d|1|FACT|chronology|128|E0016955|chronologer|128|E0567648|S|O|None|
    chronology|chronologist|128|1|d|1|FACT|chronology|128|E0016955|chronologist|128|E0071500|S|O|None|
    
    help
    help|helper|128|1|d|1|FACT|help|128|E0031061|helper|128|E0031062|S|O|None|
    help|helper|128|1|d|1|FACT|help|1024|E0031060|helper|128|E0031062|S|O|None|
    help|helping|128|1|d|1|FACT|help|1024|E0031060|helping|128|E0219271|S|O|None|
    help|self-help|128|1|d|1|FACT|help|128|E0031061|self-help|128|E0055088|P|O|self-|
    help|help|128|1|d|1|FACT|help|1024|E0031060|help|128|E0031061|Z|O|None|
    
    kind
    kind|kindness|128|1|d|1|FACT|kind|1|E0036524|kindness|128|E0036531|S|O|None|
    kind|kind|128|1|d|1|FACT|kind|1|E0036524|kind|128|E0036525|Z|O|None|
    
    More examples

  • Implementation Logic:
    1. Utilize functions in Java class of ToDerivation (sorted results)
    2. Filter out results by output categories.

  • Source Code: ToDerivationByCategory.java

  • Hierarchy: Object -> Transformation -> ToDerivationByCategory