Because of a lapse in government funding, the information on this website may not be up to date, transactions submitted via the website may not be processed, and the agency may not be able to respond to inquiries until appropriations are enacted. The NIH Clinical Center (the research hospital of NIH) is open. For more details about its operating status, please visit cc.nih.gov. Updates regarding government operating status and resumption of normal operations can be found at OPM.gov.

Lexical Tools

Output Filter Option - Sort

  • Description:

    This option sorts outputs by:

    • o: terms in an alphabetical order.
    • oc: terms in an alphabetical order, then by category value.
    • oci: terms in an alphabetical order, followed by category value, then by inflection value.


  • Features:
    1. Sorts output variants by terms in an alphabetical order, by category value, and by inflection value.


  • Symbol: St:[o] [oc] [oci]

  • Examples:
    shell> lvg -f:i -St:o
    
    help
    help|help|128|1|i|1|
    help|help|128|8|i|1|
    help|help|128|512|i|1|
    help|help|1024|1|i|1|
    help|help|1024|262144|i|1|
    help|help|1024|1024|i|1|
    help|helped|1024|32|i|1|
    help|helped|1024|64|i|1|
    help|helping|1024|16|i|1|
    help|helps|128|8|i|1|
    help|helps|1024|128|i|1|
    
    shell> lvg -f:i -St:oc
    
    TITIS
    TITIS|titi|128|1|i|1|
    TITIS|titi|128|512|i|1|
    TITIS|titis|128|8|i|1|
    
    left
    left|leave|1024|1|i|1|
    left|leave|1024|262144|i|1|
    left|leave|1024|1024|i|1|
    left|leaves|1024|128|i|1|
    left|leaving|1024|16|i|1|
    left|left|1|1|i|1|
    left|left|1|256|i|1|
    left|left|2|1|i|1|
    left|left|2|256|i|1|
    left|left|128|1|i|1|
    left|left|128|8|i|1|
    left|left|128|512|i|1|
    left|left|1024|32|i|1|
    left|left|1024|64|i|1|
    left|lefts|128|8|i|1|
    
    shell> lvg -f:i -St:oci
    
    help
    help|help|128|1|i|1|
    help|help|128|8|i|1|
    help|help|128|512|i|1|
    help|help|1024|1|i|1|
    help|help|1024|1024|i|1|
    help|help|1024|262144|i|1|
    help|helped|1024|32|i|1|
    help|helped|1024|64|i|1|
    help|helping|1024|16|i|1|
    help|helps|128|8|i|1|
    help|helps|1024|128|i|1|
    
    left
    left|leave|1024|1|i|1|
    left|leave|1024|1024|i|1|
    left|leave|1024|262144|i|1|
    left|leaves|1024|128|i|1|
    left|leaving|1024|16|i|1|
    left|left|1|1|i|1|
    left|left|1|256|i|1|
    left|left|2|1|i|1|
    left|left|2|256|i|1|
    left|left|128|1|i|1|
    left|left|128|8|i|1|
    left|left|128|512|i|1|
    left|left|1024|32|i|1|
    left|left|1024|64|i|1|
    left|lefts|128|8|i|1|
    
  • Implementation Logic:
    1. Implemented in the OutputFilter and LexItemComparator class.