iamgonzalez / Used-Words-Twitter-Candidates-Election-BR-22

Most used words on twitter by candidates for election in Brazil 2022 using Python with tweepy, nltk and spacy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ“– Overview

This Jupyter Notebook uses the python programming language to explore the extraction of tweets using the tweepy API, in order to analyze words most mentioned by the main presidential candidates in Brazil, words referring to location, people's proper names, and names of organizations. This classification is performed by manipulating the text of each tweet, splitting the tweet phrase into separate words, removing stop words, and creating labels. These tasks are performed using natural language processing libraries such as Natural Language Toolkit(NLTK), and SpaCy.

πŸ“¦ Dependencies

  • csv
  • matplotlib
  • nltk
  • pandas
  • pymongo
  • seaborn
  • spacy
  • tweepy

πŸ’» Usage

  1. Install the dependencies;
  2. Run Jupyter Notebook in terminal to see the code in your browser.

πŸ’‘ Credits:

About

Most used words on twitter by candidates for election in Brazil 2022 using Python with tweepy, nltk and spacy

License:MIT License


Languages

Language:Jupyter Notebook 100.0%