# Package org.apache.lucene.analysis.snowball

`TokenFilter` and `Analyzer` implementations that use Snowball stemmers.

See: Description

- Class Summary
  Class | Description
  --- | ---
  SnowballFilter | A filter that stems words using a Snowball-generated stemmer.
  SnowballPorterFilterFactory | Factory for `SnowballFilter`, with configurable language

## Package org.apache.lucene.analysis.snowball Description

`TokenFilter` and `Analyzer` implementations that use Snowball stemmers.

This project provides pre-compiled version of the Snowball stemmers based on revision 500 of the Tartarus Snowball repository, together with classes integrating them with the Lucene search engine.

A few changes has been made to the static Snowball code and compiled stemmers:

- Class SnowballProgram is made abstract and contains new abstract method stem() to avoid reflection in Lucene filter class SnowballFilter.
- All use of StringBuffers has been refactored to StringBuilder for speed.
- Snowball BSD license header has been added to the Java classes to avoid having RAT adding ASL headers.

See the Snowball home page for more information about the algorithms.

IMPORTANT NOTICE ON BACKWARDS COMPATIBILITY!

An index created using the Snowball module in Lucene 2.3.2 and below might not be compatible with the Snowball module in Lucene 2.4 or greater.

For more information about this issue see: https://issues.apache.org/jira/browse/LUCENE-1142

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