Open dvlsc000 opened 2 weeks ago
Open the file
Read and process lines
Convert to uppercase and store in a set
Return the set of words
File read and split by lines
Conversion to uppercase
Storing in a set
Flexibility with file path
Load the list of valid English words from words.txt file and return a set of words to match the format of the generated text