snowball

Bindings to the Snowball library. http://hub.darcs.net/dag/snowball

Latest on Hackage:1.0.0.1

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD3 licensed

The Snowball library is used to compute the stems of words in natural languages.

Compared to the older stemmer package, this one:

  • Correctly handles unicode without relying on the system locale

  • Takes greater care to avoid memory leaks and to be thread safe

  • Uses Text rather than String

  • Gets rid of the need for stemWords by using rewrite rules to make map stem efficient

  • Includes a more recent release of Snowball

  • Attempts to comply with the Snowball licensing terms

  • Supports SafeHaskell when available and is otherwise Haskell2010

  • Comes with a test suite

However, although this code is written from scratch, it is heavily modeled after the code of the "stemmer" package.

Used by 1 package:
comments powered byDisqus