`stemmer` is deprecated in favor of `snowball`
The Haskell dependency stemmer
, a binding to the Snowball stemming library used by gargantext
for stemming with the PorterAlgorithm
, is deprecated in favor of the Haskell bindings snowball
:
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