Lexical Tools

Flow Specific Option - Inflection Restriction

  • Description:

    This option is used to filter inflections by facts and rules generated in the inflectional morphology flows. This option is used to control the variants generated using the inflection modules. Its argument can be 1, 2, or 3.

    • 1: restricts the output to those variants which are known to the lexicon, facts generated (facts only).
    • 2: restricts the output to those variants which are known to the lexicon, unless none of the variants are found in the lexicon, in which case the entire (rule-generated) list is returned (facts or rules). This is the default option.
    • 3: No restriction on the output of the morphology. Both facts and rules generated variants are displayed (facts and rules).


  • Features:
    1. Restrict the output for inflection flows.


  • Symbol: ki:INT

  • Examples:
    shell> lvg -f:i -ki:1 -m
    know
    know|knew|1024|32|i|1|FACT|know|verb|base|knew|verb|past|E0036606|
    know|know|1024|1|i|1|FACT|know|verb|base|know|verb|base|E0036606|
    know|know|1024|262144|i|1|FACT|know|verb|base|know|verb|pres1p23p|E0036606|
    know|know|1024|1024|i|1|FACT|know|verb|base|know|verb|infinitive|E0036606|
    know|known|1024|64|i|1|FACT|know|verb|base|known|verb|pastPart|E0036606|
    know|knows|1024|128|i|1|FACT|know|verb|base|knows|verb|pres3s|E0036606|
    know|knowing|1024|16|i|1|FACT|know|verb|base|knowing|verb|presPart|E0036606|
    
    shell> lvg -f:i -ki:3 -m
    know
    know|knew|1024|32|i|1|FACT|know|verb|base|knew|verb|past|E0036606|
    know|know|1024|1|i|1|FACT|know|verb|base|know|verb|base|E0036606|
    know|know|1024|262144|i|1|FACT|know|verb|base|know|verb|pres1p23p|E0036606|
    know|know|1024|1024|i|1|FACT|know|verb|base|know|verb|infinitive|E0036606|
    know|known|1024|64|i|1|FACT|know|verb|base|known|verb|pastPart|E0036606|
    know|knows|1024|128|i|1|FACT|know|verb|base|knows|verb|pres3s|E0036606|
    know|knowed|1024|32|i|1|RULE|know|$|verb|infinitive|ed$|verb|past|
    know|knowing|1024|16|i|1|FACT|know|verb|base|knowing|verb|presPart|E0036606|
    know|knowwed|1024|32|i|1|RULE|know|CVC$|verb|infinitive|CVSCed$|verb|past|
    know|knowwing|1024|16|i|1|RULE|know|CVC$|verb|infinitive|CVSCing$|verb|presPart|
    know|knowest|2|4|i|1|RULE|know|$|adv|positive|est$|adv|superlative|
    know|knowwer|2|2|i|1|RULE|know|CVC$|adv|positive|CVSCer$|adv|comparative|
    know|knowwest|2|4|i|1|RULE|know|CVC$|adv|positive|CVSCest$|adv|superlative|
    know|knowest|1|4|i|1|RULE|know|$|adj|positive|est$|adj|superlative|
    know|knowwer|1|2|i|1|RULE|know|CVC$|adj|positive|CVSCer$|adj|comparative|
    know|knowwest|1|4|i|1|RULE|know|CVC$|adj|positive|CVSCest$|adj|superlative|
    
  • Implementation Logic:
    1. Implemented in the OutputFilter & ToInflection classes.