开发者

Java method for checking spelling [duplicate]

This question already has answers here: Closed 11 years ago.

Possible Duplicate:

Looking for Java spell checker library

Is 开发者_开发问答there any method for checking spelling of english words.

I have word game where I have to select letters to form a word and then check it for spelling, if correct then show on the panel.

the methods and the use of these methods, please.

thanks.


You need a dictionary of accepted words, and compare against that. If you want to recognize similar words then you'll want to start with prefixes and suffixes and move on to levenstein(?) distances

... Or you can use String.equals()

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜