Lexical Tools

Output Filter Option - Case Modification

  • Description:

    This provides users an option of preserving or modifying case. The default is to preserve case of the output (1).

    • 1: preserved case.
    • 2: modify to lower case.
    • 3: modify to upper case.


  • Features:
    1. Change or preserve case of the outputs.


  • Symbol: C:INT

  • Examples:
    > lvg -f:b -C:1
    aids
    aids|AID|128|1|b|1|
    aids|AIDS|128|1|b|1|
    aids|aid|128|1|b|1|
    aids|aid|1024|1|b|1|
    
    > lvg -f:b -C:2
    aids
    aids|aid|128|1|b|1|
    aids|aids|128|1|b|1|
    aids|aid|128|1|b|1|
    aids|aid|1024|1|b|1|
    
    > lvg -f:b -C:3
    aids
    aids|AID|128|1|b|1|
    aids|AIDS|128|1|b|1|
    aids|AID|128|1|b|1|
    aids|AID|1024|1|b|1|
    
  • Implementation Logic:
    1. Implemented in the OutputFilter & Transformation classes.