packages feed

chatter-0.0.0.1: chatter.cabal

name:                chatter
version:             0.0.0.1
synopsis:            A library of simple NLP algorithms.
description:         chatter is a collection of simple Natural Language
                     Processing algorithms.
                     .
                     Chatter supports:
                     .
                     * Part of speech tagging with Averaged
                       Perceptrons. Based on the Python implementation
                       by Matthew Honnibal:
                       (<http://honnibal.wordpress.com/2013/09/11/a-good-part-of-speechpos-tagger-in-about-200-lines-of-python/>) See 'NLP.POS' for the details of part-of-speech tagging with chatter.
                     .
                     * Document similarity; A cosine-based similarity measure, and TF-IDF calculations,
                       are available in the 'NLP.Similarity.VectorSim' module.
homepage:            http://github.com/creswick/chatter
Bug-Reports:         http://github.com/creswick/chatter/issues
category:            Tools
license:             BSD3
License-file:        LICENSE
author:              Rogan Creswick
maintainer:          creswick@gmail.com
Cabal-Version:       >=1.10
build-type:          Simple

data-files:          ./data/models/README
                     ./data/models/brown-train.model.gz

source-repository head
  type:     git
  location: git://github.com/creswick/chatter.git

Library
   default-language: Haskell2010
   hs-source-dirs:   src

   Other-modules:    Paths_chatter

   Exposed-modules:  NLP.POS
                     NLP.POS.AvgPerceptron
                     NLP.POS.AvgPerceptronTagger
                     NLP.POS.LiteralTagger
                     NLP.POS.UnambiguousTagger
                     NLP.Types
                     NLP.Tokenize
                     NLP.Corpora.Parsing
                     NLP.Similarity.VectorSim
                     Data.DefaultMap

   Build-depends:    base >= 4 && <= 6,
                     text,
                     containers,
                     safe,
                     random-shuffle,
                     MonadRandom,
                     cereal,
                     fullstop,
                     split,
                     bytestring,
                     zlib,
                     filepath

   ghc-options:      -Wall


Executable tag
   default-language: Haskell2010
   Main-Is:          Tagger.hs
   hs-source-dirs:   appsrc

   Build-depends:    chatter,
                     filepath,
                     text,
                     base       >= 4 && <= 6,
                     bytestring,
                     cereal

   ghc-options:      -Wall -main-is Tagger -rtsopts

Executable train
   default-language: Haskell2010
   Main-Is:          Trainer.hs
   hs-source-dirs:   appsrc

   Build-depends:    chatter,
                     filepath,
                     text,
                     base       >= 4 && <= 6,
                     bytestring,
                     cereal,
                     containers

   ghc-options:      -Wall -main-is Trainer -rtsopts

Executable eval
   default-language: Haskell2010
   Main-Is:          Evaluate.hs
   hs-source-dirs:   appsrc

   Build-depends:    chatter,
                     filepath,
                     text,
                     base       >= 4 && <= 6,
                     bytestring,
                     cereal,
                     containers

   ghc-options:      -Wall -main-is Evaluate -rtsopts

Executable bench
   default-language: Haskell2010
   Main-Is:          Bench.hs
   hs-source-dirs:   tests/src

   Build-depends:    chatter,
                     criterion,
                     filepath,
                     text,
                     base       >= 4 && <= 6,
                     split

   ghc-options:      -Wall -main-is Bench


test-suite tests
   default-language: Haskell2010
   type: exitcode-stdio-1.0

   Main-Is:          Main.hs
   hs-source-dirs:   tests/src

   Build-depends:    chatter,
                     base       >= 4 && <= 6,
                     text,
                     HUnit,
                     test-framework,
                     test-framework-skip,
                     test-framework-quickcheck2,
                     test-framework-hunit,
                     QuickCheck < 2.6,
                     filepath,
                     cereal,
                     quickcheck-instances,
                     containers

   ghc-options:      -Wall