{"id":25133073,"url":"https://github.com/goncalotomas/swear","last_synced_at":"2026-04-04T08:35:09.901Z","repository":{"id":57555157,"uuid":"134303825","full_name":"goncalotomas/swear","owner":"goncalotomas","description":"OTP Library for filtering profanity in text","archived":false,"fork":false,"pushed_at":"2018-05-21T18:25:02.000Z","size":18,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-23T23:12:23.149Z","etag":null,"topics":["erlang","filter","otp-library","profanity"],"latest_commit_sha":null,"homepage":null,"language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/goncalotomas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-21T17:42:09.000Z","updated_at":"2023-04-29T23:08:03.000Z","dependencies_parsed_at":"2022-09-26T18:51:36.048Z","dependency_job_id":null,"html_url":"https://github.com/goncalotomas/swear","commit_stats":null,"previous_names":["clicaai/swear"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goncalotomas%2Fswear","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goncalotomas%2Fswear/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goncalotomas%2Fswear/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goncalotomas%2Fswear/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/goncalotomas","download_url":"https://codeload.github.com/goncalotomas/swear/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250528873,"owners_count":21445518,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["erlang","filter","otp-library","profanity"],"created_at":"2025-02-08T15:34:07.803Z","updated_at":"2026-04-04T08:35:09.853Z","avatar_url":"https://github.com/goncalotomas.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"# swear - Profanity scanning library\n[![Build Status](https://travis-ci.org/ClicaAi/swear.svg?branch=master)](https://travis-ci.org/ClicaAi/swear)\n[![hex version](https://img.shields.io/hexpm/v/swear.svg)](https://hex.pm/packages/swear)  \n\nAn OTP library to scan for profanity in strings.  \nSwear word lists adapted from [Shutterstock's][1] repo.\n\nPull requests for improvements on the curse word lists or other languages are welcomed!\n\n## Build\n\n    $ rebar3 compile\n\n## Use\n```\nappend this to the deps list in your rebar.config file\n\n{deps, [\n    ... other deps\n    {swear, \"~\u003e1.0\"}\n]}.\n```\n\n```erl-sh\n1\u003e swear:scan(\"shit\").\ntrue\n2\u003e swear:scan(\"shit\", [\"pt\", \"es\"]).\nfalse\n```\n\n[1]: https://github.com/LDNOOBW/List-of-Dirty-Naughty-Obscene-and-Otherwise-Bad-Words\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoncalotomas%2Fswear","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoncalotomas%2Fswear","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoncalotomas%2Fswear/lists"}