Lexical Tools

Global Behavior Option - Display Filtered Input

  • Description:

    This option provides users have option to display only the filtered input term in the output.

  • Features:
    1. Display the filtered input term in the output.


  • Symbol: -ti

  • Examples:
    shell> lvg -f:i -t:2 -ti
    
    see|help
    help|help|128|1|i|1|
    help|help|128|8|i|1|
    help|help|128|512|i|1|
    help|helps|128|8|i|1|
    help|help|1024|1|i|1|
    help|help|1024|262144|i|1|
    help|help|1024|1024|i|1|
    help|helps|1024|128|i|1|
    help|helped|1024|32|i|1|
    help|helped|1024|64|i|1|
    help|helping|1024|16|i|1|
    
  • Implementation Logic:
    1. Implemented in the OutputFilter class.