Skip to content

tweichle/Predicting-Political-Tweets-NLP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Natural-Language-Processing

Natural Language Processing (NLP) Text Classification Application in Python

This repository contains the prediction of political tweets using the Twitter API.

image

Goals

  • Classify whether a tweet comes from Donald Trump or Nancy Pelosi -> Can we correctly identify which of these two politicians tweeted what?
  • Using Twitter API, summarize and examine political tweets.
  • Build and train NLP Text Classification models to predict Donald Trump tweets.

Steps

  • Create a developer account on Twitter
  • Create a method to pull a list of tweets from the Twitter API
  • Perform proper preprocessing on text
  • Engineer sentiment feature in dataset using TextBlob
  • Explore supervised classification techniques