Back to LanguageTool Homepage - Privacy - Imprint

Word containing letter

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());

		java.util.List<RuleMatch> matches = null;
		try {
			matches = langTool.check("tst1");
		} catch (IOException e) {
			// TODO Auto-generated catch block

Have you tried fsa.dict.speller.ignore-numbers as documented at

1 Like

Thank you . Its worked fine . Appreciate your timely help .