stemmer-0.5.1: Haskell bindings to the Snowball stemming library.

Safe HaskellSafe
LanguageHaskell98

NLP.Stemmer.C

Contents

Description

Haskell bindings for the Snowball stemming library. This module contains all the low-level functions and are more or less direct translations of the foreign function calls. The stem function expects strings to use UTF-8 encoding.

Synopsis

Types

data Stemmer Source

Available algorithms. For English, English is recommended over Porter.

Instances

Low level functions

stem :: Stemmer -> String -> IO String Source

Stem a word