This is a petite Python Script that used that module , WordCloud to take song lyrics in the form of a text file. Opens the file in the Read mode and saves the content in a string .
This code cleans the string that will be copied from the input file , by removing the punctuations , spaces and other uninteresting words .
This code cleans the string that will be copied from the input file , by removing the punctuations , spaces and other uninteresting words .
The following is a WordCLoud based on the "Blinding Lights" song lyrics.