A Flask server to detect Korean bad words in text using pre-trained SVM models and vectorizers.
Ensure you have the following installed:
- Python 3.6+
- Flask
- joblib
- scikit-learn
-
Clone the repository:
git clone https://github.com/developersung13/bad-word-detection.git cd bad-word-detection
-
Set up a virtual environment:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install dependencies:
pip install Flask joblib scikit-learn
Start the Flask server:
python app.py