Extensive and efficient detection of profanity/bad-words/terms (and their coded versions)
It supports detection for modified spellings : Pr0Fan17y, 🅿ro𝔉aNίt¥, p̴̛͇͕̀̔̓̾̔̎͊̾̎͌̂̆̕͘͜r̴̖̱̅̄̈́͜ơ̴̱͕̣̦͓̿̂̆̈́̿̓̒̌̊̓̚f̶̢̘͙͖͎̪̱̳͇͇͙͔̜̈́̈́̐̊̇̌̾̄͠ͅa̸̢͙̥̔̀̀ͅn̸͔͇̬̬̥̦͈̏̀i̶̧̡̡̛̹̖̙̱̼͓̳̬͎̣̎͒̈̃̉̅͊͑̓̀͘͜t̷̡̘̟̘̠͔̼̬͈̮͖̘̰̿́̇̈͆̇̈͊̊͜ý̶̢̠͙̪̜͖̭̣͖͈̱̩̃͆̓̉́̽͌̇͑͂̚̕̚͠ etc. (You know it works when you cant even read the last one :)
The package intends to help developers introduce text-based moderation in their web platform by flagging text content which contains profanity/obscene words and phrases.
Clensify does extensive pre-processing to help detect text formats which intend to bypass conventional bad-word filters (zalgo, bubble-text, leetspeak etc.).
Various detection strategies are used, inlcuding bloom-filtering, others currently in development...
Placeholders as of now, will be updated soon...
- Clone the Clensify repository:
git clone https://github.com/ag-wnl/Clensify
- Change to the project directory:
cd Clensify
- Install the dependencies:
npm install
This section is currently a placeholder, will be updated soon... Contributions are welcome! Here are several ways you can contribute:
- Submit Pull Requests: Review open PRs, and submit your own PRs.
- Report Issues: Submit bugs found or log feature requests for Clensify.
Contributing Guidelines
- Fork the Repository: Start by forking the project repository to your GitHub account.
- Clone Locally: Clone the forked repository to your local machine using a Git client.
git clone https://github.com/ag-wnl/Clensify
- Create a New Branch: Always work on a new branch, giving it a descriptive name.
git checkout -b new-feature-x
- Make Your Changes: Develop and test your changes locally.
- Commit Your Changes: Commit with a clear message describing your updates.
git commit -m 'Implemented new feature x.'
- Push to GitHub: Push the changes to your forked repository.
git push origin new-feature-x
- Submit a Pull Request: Create a PR against the original project repository. Clearly describe the changes and their motivations.
Once your PR is reviewed and approved, it will be merged into the main branch.
Clensify, under MIT license. Authored and maintained by Agnideep.