Class ClassicFilter

    • Constructor Detail

      • ClassicFilter

        public ClassicFilter​(TokenStream in)
        Construct filtering in.
    • Method Detail

      • incrementToken

        public final boolean incrementToken()
                                     throws IOException
        Returns the next token in the stream, or null at EOS.

        Removes 's from the end of words.

        Removes dots from acronyms.

        Specified by:
        incrementToken in class TokenStream
        Throws:
        IOException