I am planning to do some data tuning on my data.
Situation-I have a data which has a field country
. It contains user input country names( It might contain spelling mistakes or different country names for same country like US/U.S.A/United States for USA). I have a list of correct country names.
What I want- To predict which closest country it is referring to. For example- If U.S.
is given then it will change to USA
(correct country name in our list).
Is there any way I can do it using Java or opennlp or any other method?