tgritsaev's picture
Upload 198 files
affcd23 verified
raw
history blame contribute delete
263 Bytes
fin = open("hw_asr/text_encoder/librispeech-vocab.txt", "r")
fout = open("hw_asr/text_encoder/librispeech-fixed-vocab.txt", "w+")
while line := fin.readline():
line = line.lower().replace("'", "")
print(line, end="", file=fout)
fin.close()
fout.close()