org.apache.lucene.analysis.standard
Class StandardFilter

java.lang.Object
  |
  +--org.apache.lucene.analysis.TokenStream
        |
        +--org.apache.lucene.analysis.TokenFilter
              |
              +--org.apache.lucene.analysis.standard.StandardFilter
All Implemented Interfaces:
StandardTokenizerConstants

public final class StandardFilter
extends TokenFilter
implements StandardTokenizerConstants

Normalizes tokens extracted with StandardTokenizer.


Fields inherited from class org.apache.lucene.analysis.TokenFilter
input
 
Fields inherited from interface org.apache.lucene.analysis.standard.StandardTokenizerConstants
ACRONYM, ALPHA, ALPHANUM, APOSTROPHE, COMPANY, DEFAULT, DIGIT, EMAIL, EOF, HAS_DIGIT, HOST, LETTER, NOISE, NUM, P, tokenImage
 
Constructor Summary
StandardFilter(TokenStream in)
          Construct filtering in.
 
Method Summary
 Token next()
          Returns the next token in the stream, or null at EOS.
 
Methods inherited from class org.apache.lucene.analysis.TokenFilter
close
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardFilter

public StandardFilter(TokenStream in)
Construct filtering in.
Method Detail

next

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

Removes 's from the end of words.

Removes dots from acronyms.

Overrides:
next in class TokenStream


Copyright © 2000-2002 Apache Software Foundation. All Rights Reserved.