Skip to content

ObamaFoundation/cussbot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cussbot

This is a machine learning driven python service that calculates the "offsensiveness" of a first and last name

Running

To run this service build the dockerfile in the server folder and then run the container

By default the container is listening on port 3333 that can be overridden by setting the FLASK_RUN_PORT

Training

To add to the model you will need to add positive and negative samples in the trainer/words.csv Then use the env/scripts/activate to start the virtualenv, finally run profanity.py to retrain a new model.

The new model will be output into the build folder, and you can then copy that into the profanity_model folder in the server folder

About

OF Copy - Cortina Profanity Filter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 63.7%
  • C++ 28.1%
  • NASL 6.4%
  • C 0.9%
  • HTML 0.6%
  • Jupyter Notebook 0.1%
  • Other 0.2%