A classifier which can classify the genre of an English song, given its lyrics. The classifier is based on Multinomial Naive Bayes Classifier machine learning algorithm.
- Clone this repository in your local system and unzip all files.
- Create a directory called 'data' in the directory where this repository has been cloned.
- Shift the following files into the 'data' directory:
- english_cleaned_lyrics.csv
- original_cleaned_lyrics.csv
- lyrics_to_predict.csv
- Open the 'lyrics_to_predict.csv' file and enter lyrics of every song to be predicted in successive lines, as given by default in the file.
- Run the 'source_code.ipynb' notebook.