{"id":20681495,"url":"https://github.com/cizodevahm/twitter_analysis_nltk","last_synced_at":"2026-04-18T21:01:54.471Z","repository":{"id":255301805,"uuid":"849166818","full_name":"cizodevahm/Twitter_Analysis_NLTK","owner":"cizodevahm","description":"This repository contains a Jupyter Notebook for analyzing Twitter data. The notebook demonstrates how to extract, process, and visualize tweets using various Python libraries.","archived":false,"fork":false,"pushed_at":"2024-08-29T05:18:32.000Z","size":168,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-10T20:45:44.909Z","etag":null,"topics":["nltk","sentiment-analysis","tweet-analysis","wordcloud-visualization"],"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/cizodevahm.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-08-29T05:14:46.000Z","updated_at":"2024-08-29T05:24:35.000Z","dependencies_parsed_at":"2024-08-29T06:28:58.272Z","dependency_job_id":"de472bc1-1f15-4a31-ad67-1635dda94195","html_url":"https://github.com/cizodevahm/Twitter_Analysis_NLTK","commit_stats":null,"previous_names":["cizodevahm/twitter_analysis_nltk"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cizodevahm/Twitter_Analysis_NLTK","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cizodevahm%2FTwitter_Analysis_NLTK","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cizodevahm%2FTwitter_Analysis_NLTK/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cizodevahm%2FTwitter_Analysis_NLTK/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cizodevahm%2FTwitter_Analysis_NLTK/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cizodevahm","download_url":"https://codeload.github.com/cizodevahm/Twitter_Analysis_NLTK/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cizodevahm%2FTwitter_Analysis_NLTK/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31984557,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"ssl_error","status_checked_at":"2026-04-18T20:23:29.375Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["nltk","sentiment-analysis","tweet-analysis","wordcloud-visualization"],"created_at":"2024-11-16T22:11:04.622Z","updated_at":"2026-04-18T21:01:54.442Z","avatar_url":"https://github.com/cizodevahm.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Twitter Analysis\nThis repository contains a Jupyter Notebook for analyzing Twitter data. The notebook demonstrates how to extract, process, and visualize tweets using various Python libraries.\n\n## Overview\n\nThe notebook performs the following tasks:\n1. **Twitter API Authentication**: Sets up authentication to access Twitter's API using Tweepy.\n2. **Data Extraction**: Fetches tweets from a specified user (e.g., `realDonaldTrump`).\n3. **Data Processing**: Processes the extracted tweets, including filtering and cleaning.\n4. **Sentiment Analysis**: Analyzes the sentiment of tweets using the NLTK library's SentimentIntensityAnalyzer.\n5. **Data Visualization**: Visualizes the data using Matplotlib, including histograms and line plots.\n\n## Libraries Used\n\n- **Tweepy**: For accessing the Twitter API.\n- **Pandas**: For data manipulation and analysis.\n- **NumPy**: For numerical operations.\n- **Matplotlib**: For data visualization.\n- **NLTK**: For natural language processing and sentiment analysis.\n\n## Key Features\n\n- **Twitter API Authentication**: Securely connects to Twitter's API to fetch tweets.\n- **Sentiment Analysis**: Uses NLTK's SentimentIntensityAnalyzer to determine the sentiment of tweets.\n- **Data Visualization**: Creates histograms of tweet likes and sentiment scores, and plots the daily average sentiment.\n\n## Getting Started\n\n1. **Clone the repository**:\n    ```bash\n    git clone https://github.com/cizodevahm/Twitter_Analysis_NLTK.git\n    cd Twitter_Analysis_NLTK\n    ```\n\n2. **Install the required libraries**:\n    ```bash\n    pip install tweepy pandas numpy matplotlib nltk\n    ```\n\n3. **Run the Jupyter Notebook**:\n    ```bash\n    jupyter notebook Twitter-Notebook.ipynb\n    ```\n\n## Usage\n\n- **Fetch Tweets**: Modify the `screen_name` parameter in the notebook to fetch tweets from a different user.\n- **Analyze Sentiment**: Run the cells to perform sentiment analysis on the fetched tweets.\n- **Visualize Data**: Generate visualizations to understand the sentiment trends in the tweets.\n\n## Contributing\n\nContributions are welcome! Please fork the repository and submit a pull request with your changes.\n\n## License\n\nThis project is licensed under the MIT License. See the `LICENSE` file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcizodevahm%2Ftwitter_analysis_nltk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcizodevahm%2Ftwitter_analysis_nltk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcizodevahm%2Ftwitter_analysis_nltk/lists"}