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

Word Size Filter

  • Short Description: Filter words from input by specified word size.

  • Full Description:

    This flow filters out words with size less than the specified word size. This function was known as global behavior options in C version.

    No effect on the -m option. "none" is added at the end of the output.

  • Difference: None

  • Features:
    1. Filter out words with size less than the specified word size.


  • Symbol: ws

  • Examples:
    
    shell> lvg -f:ws~3
    Academy of Physical Medicine
    Academy of Physical Medicine|Academy Physical Medicine|2047|16777215|ws|1|
    
    American Association on Mental Deficiency
    American Association on Mental Deficiency|American Association Mental Deficiency|2047|16777215|ws|1|
    
    More examples

  • Implementation Logic:
    1. Tokenize the input using space and tab as delimiters.
    2. Filter out tokens with size less than the specified word size.
    3. Compose the term by words.

  • Source Code: ToWordSize.java

  • Hierarchy: Object -> Transformation -> ToWordSize