{"id":18359134,"url":"https://github.com/theinit01/twitter-hate-speech-classifier","last_synced_at":"2026-05-06T22:02:04.439Z","repository":{"id":230070213,"uuid":"777619507","full_name":"theinit01/Twitter-Hate-Speech-Classifier","owner":"theinit01","description":"A Machine Learning Model developed to detect and classify Hate Speech on Twitter built using streamlit","archived":false,"fork":false,"pushed_at":"2024-08-05T10:16:15.000Z","size":3845,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T03:17:53.931Z","etag":null,"topics":["decision-trees","machine-learning","python","streamlit"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/theinit01.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-26T07:40:43.000Z","updated_at":"2024-08-05T10:16:18.000Z","dependencies_parsed_at":"2024-06-18T21:42:45.349Z","dependency_job_id":"5181f0ab-7c9c-484c-8f02-2c88d5dea224","html_url":"https://github.com/theinit01/Twitter-Hate-Speech-Classifier","commit_stats":null,"previous_names":["theinit01/twitter-hate-speech-classifier"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theinit01%2FTwitter-Hate-Speech-Classifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theinit01%2FTwitter-Hate-Speech-Classifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theinit01%2FTwitter-Hate-Speech-Classifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theinit01%2FTwitter-Hate-Speech-Classifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theinit01","download_url":"https://codeload.github.com/theinit01/Twitter-Hate-Speech-Classifier/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248148247,"owners_count":21055548,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["decision-trees","machine-learning","python","streamlit"],"created_at":"2024-11-05T22:21:03.157Z","updated_at":"2026-05-06T22:01:59.419Z","avatar_url":"https://github.com/theinit01.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hate Speech Classifier\n\u003cdiv align = \"center\"\u003e\n    \u003cimg src=\"https://github.com/theinit01/Twitter-Hate-Speech-Classifier/blob/main/assets/ScreenRecording2024-08-05154029-ezgif.com-video-to-gif-converter.gif\" alt=\"Animated GIF\" /\u003e\n\u003c/div\u003e\n\nThis repository contains a Streamlit web app for classifying tweets using a hate speech detection model. Users can input a Twitter handle, and the app gathers tweets associated with that handle. It then classifies the tweets into different categories using a machine learning model trained to detect hate speech.\n\n## Features\n\n- Allows users to input a Twitter handle.\n- Gathers tweets associated with the input handle.\n- Classifies tweets into categories using a hate speech detection model.\n- Displays the number of tweets per category in a bar graph.\n- Generates a word cloud visualization of the collected tweets.\n- Shows a pie chart displaying the distribution of tweets by category.\n\n## Setup\n\nTo run the Streamlit app locally, follow these steps:\n\n1. Clone this repository:\n\n    ```\n    git clone https://github.com/theinit01/Twitter-Hate-Speech-Classifier\n    ```\n\n2. Install the required dependencies:\n\n    ```\n    pip install -r requirements.txt\n    ```\n\n3. Run the Streamlit app:\n\n    ```\n    streamlit run model/webApp.py\n    ```\n\n## Usage\n\n1. Enter a Twitter handle in the input field provided.\n2. Wait for the app to gather tweets associated with the entered handle.\n3. View the classification results in the form of a bar graph, word cloud, and pie chart.\n4. Explore the sidebar for information about the hate speech detection model and hate speech.\n\n## About\n\nThis project was developed as a part of our Mini Project. It demonstrates the use of machine learning for hate speech detection and provides an interactive web interface for users to explore the classification results.\n\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheinit01%2Ftwitter-hate-speech-classifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheinit01%2Ftwitter-hate-speech-classifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheinit01%2Ftwitter-hate-speech-classifier/lists"}