Skip to content

mfriebel/lyrics_classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lyrics Classifier

The project performs webscraping on www.metrolyrics.com to download the song lyrics. A Multinomial-Naive-Bayes model is trained on a set of artist lyrics, using bag-of-words and SMOTE Oversampler. This model is used then to predict the artist to a given song line.

Downloading Lyrics

Run python get_lyrics.py

Downloading lyrics

Train Model

Run python model.py to train model based on specified artists.

Train model

Predict artist

Run python predict_artist.py

Prediction

About

This project uses web scraping to download song text and uses Natural Language Processing (NLP) to predict an artist based a line of song text

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published