import string
with open("MGKmodlyrics.txt", "r") as MGKreader:
    with open ("MGKdicLyrics.txt", "w") as MGKwriter:
        text = set(MGKreader.read().split(" "))
        for word in text:
            if word == "" or word =="\n":
                continue
            for punc in string.punctuation:
                word = word.replace(punc,"")
            MGKwriter.write(word+"\n")
1fddc86c367058e26d1189c31a1691f22293c960
<mask token>

<mask token>
with open('MGKmodlyrics.txt', 'r') as MGKreader:
    with open('MGKdicLyrics.txt', 'w') as MGKwriter:
        text = set(MGKreader.read().split(' '))
        for word in text:
            if word == '' or word == '\n':
                continue
            for punc in string.punctuation:
                word = word.replace(punc, '')
            MGKwriter.write(word + '\n')

import string
with open('MGKmodlyrics.txt', 'r') as MGKreader:
    with open('MGKdicLyrics.txt', 'w') as MGKwriter:
        text = set(MGKreader.read().split(' '))
        for word in text:
            if word == '' or word == '\n':
                continue
            for punc in string.punctuation:
                word = word.replace(punc, '')
            MGKwriter.write(word + '\n')

import string
with open("MGKmodlyrics.txt", "r") as MGKreader:
    with open ("MGKdicLyrics.txt", "w") as MGKwriter:
        text = set(MGKreader.read().split(" "))
        for word in text:
            if word == "" or word =="\n":
                continue
            for punc in string.punctuation:
                word = word.replace(punc,"")
            MGKwriter.write(word+"\n")