Skip to content
Reads your favourite songs from NeteaseMusic and generate a word cloud from lyrics of those songs
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
Kyokasho.ttc
README.md
main.py
settings.sample.py
wordcloud.png

README.md

NeteaseMusic Lyric Analysis

Introduction

Analyze the composition of words in your NeteaseMusic favourite song list (Japanese songs only for this project).

The following aspects are customizable:

  • Part of speech to include in the word cloud (noun, adjective, verbs, ...)
  • Specific words to exclude
  • Specific characters to exclude

Acknowledgement

Without the above projects, this project won't be able to come true. Thank you!

Requirements

  • mecab-python3
  • word_cloud
  • matplotlib
  • requests

Get it working

  1. Clone the API, Binaryify/NeteaseCloudMusicApi, and run it following its documentation.
  2. Install required packages for this project (listed in above section).
  3. Copy settings.sample.py into settings.py, put credential of your NeteaseMusic account, and specify settings.
  4. python main.py and enjoy!

This is the final result for my favourite songs :)

You can’t perform that action at this time.