Hi,
I have written below java code to find if the word has spelling mistake . Input the tool is “tst1” .Tools does not flag this as spelling error . What i observed that word containing letters, is unable to be detected by the tool . Please suggest if there is a way around .
JLanguageTool langTool = new JLanguageTool(new AmericanEnglish());
@SuppressWarnings("unchecked")
java.util.List<RuleMatch> matches = null;
try {
matches = langTool.check("tst1");
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}