https://github.com/innerdoc/christmas-lyrics-emotion-detector
Detect Emotions on Christmas Lyrics with Zero-shot Emotion Classification. With the help of Streamlit and Plotly.
https://github.com/innerdoc/christmas-lyrics-emotion-detector
emotion-detection emotion-recognition natural-language-processing plotly plotly-python plutchik streamlit streamlit-webapp transformers zero-shot-classification
Last synced: 3 months ago
JSON representation
Detect Emotions on Christmas Lyrics with Zero-shot Emotion Classification. With the help of Streamlit and Plotly.
- Host: GitHub
- URL: https://github.com/innerdoc/christmas-lyrics-emotion-detector
- Owner: innerdoc
- License: mit
- Created: 2020-12-21T14:53:09.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-11-19T15:41:43.000Z (over 1 year ago)
- Last Synced: 2025-01-21T11:15:19.457Z (5 months ago)
- Topics: emotion-detection, emotion-recognition, natural-language-processing, plotly, plotly-python, plutchik, streamlit, streamlit-webapp, transformers, zero-shot-classification
- Language: Jupyter Notebook
- Homepage: https://www.innerdoc.com
- Size: 2.53 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Christmas Lyrics Emotion Detector
[](https://www.innerdoc.com/christmas-lyrics-emotions-demo/) [](https://twitter.com/innerdoc_nlp)

## About
This *Christmas Lyrics Emotion Detector* is created by [Rob van Zoest](https://www.linkedin.com/in/robvanzoest/) and started with the idea for a fun pre-christmas project:
- The **code** is available on [github.com/innerdoc](https://github.com/innerdoc/christmas-lyrics-emotion-detector)
- The **emotions** were taken from [Plutchik's wheel of Emotions](https://en.wikipedia.org/wiki/Robert_Plutchik)
- The **data** was generated with the help of *Zero-shot emotion classification* with [Transformers from Huggingface](https://joeddav.github.io/blog/2020/05/29/ZSL.html)
and this [Colab Notebook](https://colab.research.google.com/drive/1gcJq-6YXGca7i_8XUfq9z08MU_EWlkSd)
- The **interface** is build with the help of [Streamlit](https://www.streamlit.io/) and [Plotly](https://plotly.com/python/)## The result
[Open the demo app!](https://www.innerdoc.com/christmas-lyrics-emotions-demo/)Below an example of the App.

## Install and run
```
pip install -r requirements.txt
streamlit run christmas_lyrics_emotion_detector.py
```