A sample script of Game of Thrones was taken from the page and stored in the file conv.txt in the dataset provided. Your task is to read the file and do the following:
-
Find out the number of unique characters in the sample conversation?
-
Create a new text file for each of the characters with their name and store the unique words said by them in their respective file. Store one word in one line.