Bleepy is a python program can block tagalog and english profanity audio in videos.
The following are the Python modules and software that are needed to run this program.
Note: FFMPEG is also needed to be installed to run this program.
-
vosk-api
- v 0.3.30 to latest
- Offline speech recognition
- https://pypi.org/project/vosk/
- https://github.com/alphacep/vosk-api
- Language Model: https://alphacephei.com/vosk/models
-
alt-profanity-check
- v 0.24.2 to latest
- Profanity checker in string that uses machine learning
- https://pypi.org/project/alt-profanity-check/
- https://github.com/dimitrismistriotis/profanity-check
- Clone this repository
- Install Python 3
- Download here
- Install FFMPEG
- Easy Installation tutorial for FFMPEG
- pip install vosk
- pip for vosk
- Documentation
- Tutorial to use vosk
- pip install alt-profanity-check
- pip for alt-profanity-check
- Documentation
- Set up language model (follow the instruction)
- Download language model for vosk from models page. My suggested model is vosk-model-en-us-aspire-0.2
- Paste it inside bleepy directory or folder. Make sure the file is inside of the bleepy folder
- Extract it
- Rename it to model
- Try to run test_bleepy.py