Polish curse word classification using simple heuristic.
- Python 3.10.7
To censor words import censoring.py, and add badWords.txt to the same directory. For in-file use examples see example1.py and example2.py
- censorWord - if word variable is classified as a curse replaces all but first and last characters with '*', unless other replaceChar variable is specified
- isBadWord - returns true if word variable is classified as curse, or false otherwise
BEST Gdansk hackaton team "Natural stupidity"
- microslaw
- mszablewski
- sgolebiewska
- szpkwsk