I wrote a python program that takes all the text in the file and puts it into a list. The way it is now, each line is stored in the list for every index (line 1 from file is stored in index 0, line 2 from file is stored in index 1, etc.)
How do I look at individual words from each index? Is there a way to, for example, use a spellchecker that checks each word in all of the indexes (which contain the entire line, not just individual words) and returns whether the word exists?
How do I look at individual words from each index? Is there a way to, for example, use a spellchecker that checks each word in all of the indexes (which contain the entire line, not just individual words) and returns whether the word exists?