Skip to content

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

License

Notifications You must be signed in to change notification settings

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

📖 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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published