I simply want to see if a string exists in a dictionary file. (Dictionary file at bottom of question)
I want to check if the voice recognizer can recogn
You could load the dictionary to a arraylist by reading it line by line and to get only the words do
arraylist.add(line.split("\\s+")[0]);
And then check if it exist by
if(arraylist.contains(word))