In: Computer Science
Java: The goal is to find the number of unique words found in a story file text.txt but there some conditions each such word must be found in the dictionary WordList.txt file, each such word should not be among the commonly used ones such as a, it, etc. Such forbidden words are listed in a separate file called stopwords.txt. Your output will be the single number which is the number of unique words in the story file. Use only ArrayLists or arrays as data structures for your coding and eliminate anything other than a-z,A-Z, lowercasing each, removing empty strings.