packages feed

snowball-0.1.0: snowball.cabal

name          : snowball
version       : 0.1.0
homepage      : http://hub.darcs.net/dag/snowball
category      : Natural Language Processing, Text
maintainer    : dag.odenhall@gmail.com
copyright     : (c) 2012 Dag Odenhall, (c) 2008 Tupil, (c) 2002 Richard Boulton
synopsis      : Bindings to the Snowball library.
description   : The Snowball library is used to compute the stems of words
                in natural languages.
                .
                Compared to the older
                <http://hackage.haskell.org/package/stemmer stemmer>
                package, this one:
                .
                * Correctly handles unicode without relying on the system
                  locale
                .
                * Takes greater care to avoid memory leaks
                .
                * 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
                .
                However, although this code is written from scratch, it is
                heavily modeled after the code of the \"stemmer\" package.
license       : BSD3
license-file  : LICENSE
cabal-version : >= 1.10
build-type    : Simple

extra-source-files : libstemmer_c/src_c/stem_UTF_8_danish.h
                     libstemmer_c/src_c/stem_UTF_8_dutch.h
                     libstemmer_c/src_c/stem_UTF_8_english.h
                     libstemmer_c/src_c/stem_UTF_8_finnish.h
                     libstemmer_c/src_c/stem_UTF_8_french.h
                     libstemmer_c/src_c/stem_UTF_8_german.h
                     libstemmer_c/src_c/stem_UTF_8_hungarian.h
                     libstemmer_c/src_c/stem_UTF_8_italian.h
                     libstemmer_c/src_c/stem_UTF_8_norwegian.h
                     libstemmer_c/src_c/stem_UTF_8_porter.h
                     libstemmer_c/src_c/stem_UTF_8_portuguese.h
                     libstemmer_c/src_c/stem_UTF_8_romanian.h
                     libstemmer_c/src_c/stem_UTF_8_russian.h
                     libstemmer_c/src_c/stem_UTF_8_spanish.h
                     libstemmer_c/src_c/stem_UTF_8_swedish.h
                     libstemmer_c/src_c/stem_UTF_8_turkish.h
                     libstemmer_c/include/libstemmer.h
                     libstemmer_c/libstemmer/modules_utf8.h
                     libstemmer_c/runtime/api.h
                     libstemmer_c/runtime/header.h
                     libstemmer_c/LICENSE

source-repository head
  type     : darcs
  location : http://hub.darcs.net/dag/snowball

library
  hs-source-dirs   : src
  default-language : Haskell2010
  ghc-options      : -Wall
  c-sources        : libstemmer_c/src_c/stem_UTF_8_danish.c
                     libstemmer_c/src_c/stem_UTF_8_dutch.c
                     libstemmer_c/src_c/stem_UTF_8_english.c
                     libstemmer_c/src_c/stem_UTF_8_finnish.c
                     libstemmer_c/src_c/stem_UTF_8_french.c
                     libstemmer_c/src_c/stem_UTF_8_german.c
                     libstemmer_c/src_c/stem_UTF_8_hungarian.c
                     libstemmer_c/src_c/stem_UTF_8_italian.c
                     libstemmer_c/src_c/stem_UTF_8_norwegian.c
                     libstemmer_c/src_c/stem_UTF_8_porter.c
                     libstemmer_c/src_c/stem_UTF_8_portuguese.c
                     libstemmer_c/src_c/stem_UTF_8_romanian.c
                     libstemmer_c/src_c/stem_UTF_8_russian.c
                     libstemmer_c/src_c/stem_UTF_8_spanish.c
                     libstemmer_c/src_c/stem_UTF_8_swedish.c
                     libstemmer_c/src_c/stem_UTF_8_turkish.c
                     libstemmer_c/runtime/api.c
                     libstemmer_c/runtime/utilities.c
                     libstemmer_c/libstemmer/libstemmer_utf8.c
  exposed-modules  : Text.Snowball
  build-depends    : base == 4.*,
                     bytestring,
                     text