Skip to content

Lyrics sentiment analysis with NJU_MusicMood dataset

Notifications You must be signed in to change notification settings

hyades910739/NJU_MusicMood

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

歌詞情緒分析

last update : Oct.8.2019

Abstract :

This repo implement some lyrics sentiment classification method, including TFIDF-based, CNN, RNN, and BERT classifier.

Dataset :

NJU_MusicMood V1.0, contains 777 songs with lyrics, and each song comes with one label, representing its sentiment : angry, happy, relaxed, or sad. Please check data/NJU-MusicMood-v1.0.htm for more information.

Reference : Multimodal Music Mood Classification by Fusion of Audio and Lyrics.

files and usage :

  • data/ : Original datasets.
  • pkls/ : Processed data (in pickle format) to use in CNN and RNN. Check cnn_data_process.py
  • To use pre-trained GoogleNews word2vec model, please download from here.

Method :

  • new: BERT classifier(see bert_utli.py and train_bert.py), now training and tuning...
                     

 

         

 

         

 

         

Method DescriptionTrain_AccTest_Acc
TFIDF(Baseline)Regular bag-of-word TFIDF with SVM and Random Forest
P.S. SVD DOESNOT help
SVM:0.8625
RF :0.8625
SVM:0.292
RF :0.284
tfidf based classiferRef:
  • AUTOMATIC MOOD CLASSIFICATIONUSING TF*IDF BASED ON LYRICS
0.8450.297
Convolutional Neural NetworkRef:
  • Convolutional Neural Networks for Sentence Classification
  • A Sensitivity Analysis of (and Practitioners’ Guide to) Convolutional Neural Networks for Sentence Classification
0.95-0.980.40-0.47
RNN(bidirectional LSTM)Fucked up. over 0.95about 0.3

About

Lyrics sentiment analysis with NJU_MusicMood dataset

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published