Is there a library in Java - that can do a spell check.
I have a ArrayList of Categories - which is a list of Words {Fox,Lion,Wolf,Snake}. This list can be very big.
The program will ask the user to input the "Animal": If the user makes a spelling mistake e.g. inserts "Fix" or "Loin"..
Is there a way to compare the input to the elements of the List and find the closest in similarity and use the corresponding element instead of the misspelled input for the rest of the program.