Lexical Tools

Output Filter Option - Output Number Restriction

  • Description:

    Restrict the number of variants generated to the specified number. This option is configurable and is settable in the ${LVG_DIR}/data/config/lvg.properties file, in the variable:

    TRUNCATED_RESULTS=50

  • Features:
    1. Restrict the number of the generated outputs.


  • Symbol: R:INT

  • Examples:
    shell> lvg -f:i -m -R:2
    
    see
    see|SEE|128|1|i|1|FACT|SEE|noun|base|SEE|noun|base|E0712882|
    see|SEE|128|512|i|1|FACT|SEE|noun|base|SEE|noun|singular|E0712882|
    
    left
    left|left|128|1|i|1|FACT|left|noun|base|left|noun|base|E0037124|
    left|left|128|8|i|1|FACT|left|noun|base|left|noun|plural|E0037124|
    
  • Implementation Logic:
    1. Implemented in the OutputFilter class.