Skip to content

tanav2202/Tweet-Profanity

Repository files navigation

Tweet-Profanity

This dataset contains racial slurs and offensive language. The inclusion of these slurs does not reflect the views or opinions of the creator or distributor of this dataset. The use of these slurs is solely for the purpose of providing a comprehensive collection of language for study and research purposes. Viewers are advised to handle this dataset with caution and sensitivity.

Profanity Detection

This project contains a Python script that detects profanity in tweets. The script uses a list of profanity words and calculates the degree of profanity in each tweet. The results are saved in a CSV file.

Usage

To run this script, you need to have Python 3 and the pandas package installed on your machine. You can install the required packages using the following command:

pip install -r requirements.txt

Once the dependencies are installed, you can run the script using the following command:

python profanity_detection.py

The script will read the words.txt and tweets.txt files in the same directory and generate a degree_of_word_usage.csv file with the results

tweet_profanity.mp4

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages