Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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`.

Field Summary

Fields inherited from class org.apache.lucene.analysis.TokenFilter
`input`

Fields inherited from interface org.apache.lucene.analysis.standard.StandardTokenizerConstants
`ACRONYM, ALPHA, ALPHANUM, APOSTROPHE, CJK, 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.

  Specified by:
    `next` in class `TokenStream`
  Throws:
    `IOException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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