Skip to content

Analyze lyrics for sentiment analysis and create wordclouds for spotify playlists

Notifications You must be signed in to change notification settings

Reventaine/SpotiCloud

Repository files navigation

SpotiCloud

SpotCloud is a tool that gives you insight into the emotional tone of your favorite Spotify playlists.
With this project, you can analyze the lyrics of all the songs in a playlist and get a sentiment analysis score for a playlist.
This score indicates whether the lyrics of the song are generally positive or negative.
You can also visualize the most frequently used words in the lyrics with a word cloud.
The word cloud provides a visual representation of the words that are used the most in the playlist, allowing you to get a quick overview of the common themes in the lyrics.
Whether you're a music lover or a data enthusiast, SpotCloud is a fun and easy way to dive into the emotional content of your playlists.

Installation

Copy the code from repo and navigate in terminal to the code directory.
To install the required packages, run the following command in your terminal:
pip install -r requirements.txt

Using Docker

docker pull reventaine/spoticloud
docker run -p 5000:5000 -d reventaine/spoticloud

Access on http://localhost:5000/

Usage

To run the application, navigate to the project directory and run the following command in your terminal:
python webapp.py
This will start the Flask development server and you can access the application in your web browser.

FastAPI

You can also use FastAPI version: just run python fast.py

Screenshot 2023-02-09 125259

About

Analyze lyrics for sentiment analysis and create wordclouds for spotify playlists

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published