Skip to content

This repo is just to show how to apply a simple sentiment analysis

Notifications You must be signed in to change notification settings

BorjaRuizReverter/BasicSentimentAnalysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic Sentiment Analysis

Context

This repo is just to show how to apply a simple basic analysis.

The script is based on a pretrained backbone taken from keras NPL models, especifically the BertClassifier.

This makes:

  1. The script very easy to build
  2. The processing very fast, not even needing GPUs.

Installation

First, make sure you are using the latest version of Python. Otherwise, download if from here

Then clone this repository by open a terminal and typing:

git clone https://github.com/BorjaRuizReverter/BasicSentimentAnalysis.git

And move to the repository folder cloned:

cd BasicSentimentAnalysis

Finally, install the required packages:

pip install -r requirements.txt

Run

Once all the above have been installed, run the script by typing this if the SO is Linux

python3 script.py

or this if it is Windows

python script.py

About

This repo is just to show how to apply a simple sentiment analysis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages