https://github.com/basemax/persian-swear-censor
Persian Swear Censor is a Python script that censors offensive words in Persian text by replacing them with asterisks. The script reads a list of offensive words from a file, sorts them by length, and then replaces occurrences of these words in the input text.
https://github.com/basemax/persian-swear-censor
python swear swear-filter swearing-detector swearword swearwords
Last synced: about 2 months ago
JSON representation
Persian Swear Censor is a Python script that censors offensive words in Persian text by replacing them with asterisks. The script reads a list of offensive words from a file, sorts them by length, and then replaces occurrences of these words in the input text.
- Host: GitHub
- URL: https://github.com/basemax/persian-swear-censor
- Owner: BaseMax
- License: mit
- Created: 2024-12-27T18:25:57.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-12-27T20:36:23.000Z (5 months ago)
- Last Synced: 2025-04-03T12:02:55.671Z (about 2 months ago)
- Topics: python, swear, swear-filter, swearing-detector, swearword, swearwords
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0