Skip to content

sorXCode/Sentiment-Analyzer

Repository files navigation

SENTIMENT SCORE

This program runs sentiment analysis on tweets from twitter backup file using Google Cloud Natural Language Toolkit. The scores are saved in the current directory in a csv format. The last entry in the csv is the average sentiment score of the entire tweets history.

Requirements

Usage

Set Environment Variable

Replace [PATH] with the file path to the credentials file.

For LINUX or MACOS, run

export GOOGLE_APPLICATION_CREDENTIALS="[PATH]"

For WINDOWS, run

set GOOGLE_APPLICATION_CREDENTIALS=[PATH]

After setting Google Application Credentials as environment variable, run:

python3 main.py [backupfile.zip]

Flowchart

flowchart

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages