packages feed

estimators-0.1: estimators.cabal

name:                estimators
version:             0.1
synopsis:            Tool for managing probability estimation
description:         This library provides data structures for collecting counts 
                     and estimating distributions from observed data. It is designed for natural language
                     systems that need to handle large, discrete observation sets and 
                     perform smoothing. 
category:            Natural Language Processing
license:             BSD3
license-file:        LICENSE
author:              Sasha Rush
maintainer:          <srush@mit.edu>
build-Type:          Simple
cabal-version:       >= 1.2

flag testing
    description: Testing mode, only build minimal components
    default: False

library
    exposed-modules:     NLP.Probability.Distribution
                         NLP.Probability.Observation
                         NLP.Probability.ConditionalDistribution
                         NLP.Probability.Example.Trigram 

    other-modules:       NLP.Probability.SmoothTrie
    if flag(testing)
        buildable: False

    build-Depends:   base       >= 3   && < 4,
                     containers >= 0.1 && < 0.3,
                     binary,
                     list-tries,
                     pretty,
                     prettyclass, 
                     text 

executable hstestprobdist
    main-is:         Tests.hs
    hs-source-dirs: . tests/

    build-Depends:   base       >= 3   && < 4,
                     containers >= 0.1 && < 0.3,
                     QuickCheck >= 2,
                     text,
                     pretty,
                     prettyclass,
                     HUnit,
                     test-framework,
                     test-framework-hunit,
                     test-framework-quickcheck2
                    
    if !flag(testing)
        buildable: False