eros: A text censorship library.

[ bsd3, library, text ] [ Propose Tags ]

A Haskell library for censoring text, using DansGuardian phraselists.

I converted the phraselists into JSON. You can view the converted phraselists here.

I recommend looking at the API documentation for Text.Eros if you want an idea of how to use the library.

Changelog

0.6
- Fixed algorithm, added "flat score" for zero-depth message score.

[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.0.0, 0.1.0.0, 0.2.0.0, 0.2.0.1, 0.2.1.0, 0.2.1.1, 0.3.0.0, 0.3.0.1, 0.3.1.0, 0.4.0.0, 0.4.0.1, 0.4.1.0, 0.5.0.0, 0.5.1.0, 0.5.2.0, 0.5.3.0, 0.5.3.1, 0.5.3.2, 0.6.0.0
Dependencies aeson (>=0.8 && <0.9), base (>=4.6 && <4.8), bytestring (>=0.10 && <0.11), containers (>=0.5 && <0.6), text (>=1.1 && <1.2) [details]
License BSD-3-Clause
Copyright 2014, Peter Harpending.
Author Peter Harpending
Maintainer Peter Harpending <pharpend2@gmail.com>
Category Text
Source repo head: git clone https://github.com/pharpend/eros.git -b master
Uploaded by pharpend at 2014-07-20T08:56:40Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 13690 total (30 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Successful builds reported [all 1 reports]

Readme for eros-0.6.0.0

[back to package description]

Eros

A Haskell library for text censorship, using DansGuardian Phraselists.

I converted those Phraselists to JSON. You can see the converted Phraselists here. There are compressed versions for use in your code.

Contributing

I would love if people would contribute. QuickCheck tests are desperately needed.

As far as functionality goes, this library is pretty cut & dry. I already added all of the features I envisioned.

Versions

Eros is pretty heavy development, so the versions change quickly. I follow the Hackage standard of major.minor.even-more-minor.trivial, where major and minor entail API-breaking changes.

In the interest of not confusing myself, I keep Eros and the Eros Client on the same major.minor version. So, a bump in the major.minor number doesn't necessarily mean that there's an API-breaking change.

Contact

The best way to contact me is via IRC. I hang out on #archlinux and #haskell on FreeNode. My handles are l0cust and isomorpheous.