Lexical Tools

Output Filter Option - Category Filter

  • Description:

    This option filters outputs and only display variants contain categories specified. The specified category is in a number and may include several categories. All results with category which contain these specified categories will be displayed.

  • Features:
    1. Decompose the specified category number into categories.
    2. Filters out variants and only display results contain the specified categories.


  • Symbol: DC:LONG

  • Examples:
    shell> lvg -f:i -CR:o -DC:128
    saw
    saw|SAW|128|521|i|1|
    saw|SAW's|128|8|i|1|
    saw|SAWs|128|8|i|1|
    saw|saw|1152|263713|i|1|
    saw|saws|1152|136|i|1|
    
    left
    left|left|1155|873|i|1|
    left|lefts|128|8|i|1|
    
  • Implementation Logic:
    1. Implemented in the OutputFilter class.