Skip to content

goncalotomas/swear

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swear - Profanity scanning library

Build Status hex version

An OTP library to scan for profanity in strings.
Swear word lists adapted from Shutterstock's repo.

Pull requests for improvements on the curse word lists or other languages are welcomed!

Build

$ rebar3 compile

Use

append this to the deps list in your rebar.config file

{deps, [
    ... other deps
    {swear, "~>1.0"}
]}.
1> swear:scan("shit").
true
2> swear:scan("shit", ["pt", "es"]).
false

About

OTP Library for filtering profanity in text

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages