Lexical Tools

Output Filter Option - Output Fields

  • Description:

    This option prints out only those fields specified in the specified order. For example, -F:2:1:3 prints out the second field (output term), the first field (input term), and the third field (part of speech). The default is to print out all fields.

  • Features:
    1. Prints only the output fields corresponding to the fields specified.


  • Symbol: F

  • Examples:
    shell> lvg -f:i -F:2:1:3
    
    help
    help|help|128
    help|help|128
    help|help|128
    helps|help|128
    help|help|1024
    help|help|1024
    help|help|1024
    helps|help|1024
    helped|help|1024
    helped|help|1024
    helping|help|1024
    
  • Implementation Logic:
    1. Implemented in the OutputFilter class.