banwords-0.1.0.0: Generalized word blacklister

Safe HaskellNone
LanguageHaskell2010

Heuristics.BanWords

Synopsis

Documentation

passesBlacklist :: Vector Text -> Text -> Maybe Text Source

Block exact matches.

banExact :: Vector Text -> Parser Text Source

Intended for internal use.

passesBlacklistPlus :: Vector Text -> Text -> Maybe Text Source

Block exact matches, or exact matches that are surrounded by only non-alphabetical characters.

banAlmostExact :: Vector Text -> Parser Text Source

Intended for internal use.

skipNonAlphabetical :: Parser () Source

Intended for internal use.