How I programmed AI which writes pop songs about AI

#artificialintelligence 

Natural Language Processing (NLP) is a discipline of AI which enables machines to understand and process human language. The project was about rewriting an existing song in a way that gives the song scientific or technological meaning. The project was based on simple NLP algorithms and not on big models like GPT-2, and still yield good results. The first step before the algorithmic tasks was to download a song's lyrics. In order to make things more interesting, I decided to download a random song each run.