packages feed

fullstop-0.1.2: fullstop.cabal

name:                fullstop
version:             0.1.2
synopsis:            Simple sentence segmenter
description:         FullStop splits texts into sentences, using some orthographical
                     conventions (used in English and hopefully other languages).
                     .
                     It recognises certain punctuation characters as sentence
                     delimiters (@.?!@) and handles some abbreviations such as
                     @Mr.@ and decimal numbers (eg. @4.2@).
                     .
                     Note that this package is mostly a placeholder.  I hope
                     the Haskell/NLP communities will run with it and upload
                     a more sophisticated (family of) segmenter(s) in its
                     place.  Patches (and new maintainers) would be greeted
                     with delight!
category:            Natural Language Processing
license:             BSD3
license-file:        LICENSE
author:              Eric Kow
maintainer:          Eric Kow <E.Y.Kow@brighton.ac.uk>
homepage:            http://patch-tag.com/r/kowey/fullstop
cabal-version:       >= 1.6
build-type:          Custom

flag test
     Description: Build the test suite
     Default: False

library
    exposed-modules:  NLP.FullStop

    -- NB: there actualy isn't any particular need for GHC 6.10
    build-Depends: base >= 3 && < 4.3
                 , split == 0.1.*

executable fullstop
    main-is:  fullstop.hs

executable hstest-fullstop
  main-is:         Tests.hs
  other-modules:   Tests.NLP.FullStop

  if flag(test)
    build-depends:   base >= 3 && < 4.3
                 ,   HUnit == 1.2.*
                 ,   QuickCheck == 2.4.*
                 ,   test-framework       == 0.3.*
                 ,   test-framework-hunit == 0.2.*
                 ,   test-framework-quickcheck2 == 0.2.*
  else
    Buildable: False