packages feed

eros-0.2.0.1: eros.cabal

name:                eros
version:             0.2.0.1
synopsis:            A text censorship library.
description:
  A Haskell library for censoring text, using
  <http://contentfilter.futuragts.com/phraselists/ DansGuardian phraselists>.

  I converted the phraselists into JSON. You can view the converted phraselists
  <https://github.com/pharpend/eros/tree/master/res/phraselists-pretty here>.

  There exist compressed versions, for use within your code. You can see the
  compressed versions
  <https://github.com/pharpend/eros/tree/master/res/phraselists-ugly here>.
-- homepage:            https://eros.valkyrian.com/
license:             BSD3
license-file:        LICENSE
author:              Peter Harpending
maintainer:          Peter Harpending <pharpend2@gmail.com>
copyright:           2014, Peter Harpending.
category:            Text
build-type:          Simple
data-files:
  res/schemata/erosc-input.json
  res/schemata/erosc-output.json
  res/schemata/phraselist.json
  res/phraselists-ugly/chat.json
  res/phraselists-ugly/conspiracy.json
  res/phraselists-ugly/drug-advocacy.json
  res/phraselists-ugly/forums.json
  res/phraselists-ugly/gambling.json
  res/phraselists-ugly/games.json
  res/phraselists-ugly/gore.json
  res/phraselists-ugly/id-theft.json
  res/phraselists-ugly/illegal-drugs.json
  res/phraselists-ugly/intolerance.json
  res/phraselists-ugly/legal-drugs.json
  res/phraselists-ugly/malware.json
  res/phraselists-ugly/music.json
  res/phraselists-ugly/news.json
  res/phraselists-ugly/nudism.json
  res/phraselists-ugly/peer2peer.json
  res/phraselists-ugly/personals.json
  res/phraselists-ugly/pornography.json
  res/phraselists-ugly/proxies.json
  res/phraselists-ugly/secret-societies.json
  res/phraselists-ugly/self-labeling.json
  res/phraselists-ugly/sport.json
  res/phraselists-ugly/translation.json
  res/phraselists-ugly/upstream-filter.json
  res/phraselists-ugly/violence.json
  res/phraselists-ugly/warez-hacking.json
  res/phraselists-ugly/weapons.json
  res/phraselists-ugly/webmail.json
  
cabal-version:       >=1.10

library
  exposed-modules:
      Text.Eros.Message
    , Text.Eros.Phrase
    , Text.Eros.Phraselist
  other-modules:       
      Paths_eros
  other-extensions:
      FlexibleInstances
    , OverloadedStrings
  build-depends:
      aeson
    , base >=4.7 && <4.8
    , bytestring
    , containers
    , text
  hs-source-dirs:      src/lib/
  default-language:    Haskell2010

Test-Suite test-phrase
  type: exitcode-stdio-1.0
  hs-source-dirs: test/
  main-is: Main.hs
  other-modules:
    TextErosPhrase
  build-depends:
      base
    , containers
    , eros
    , QuickCheck
    , text
  default-language:    Haskell2010

executable erosc
  build-depends:
      aeson
    , aeson-pretty
    , base >=4.7 && <4.8
    , bytestring
    , containers
    , eros
    , text
  hs-source-dirs: src/erosc/
  main-is: Main.hs
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/pharpend/eros.git
  branch:   master