开发者

Java method for checking spelling [duplicate]

开发者 https://www.devze.com 2023-03-16 07:58 出处:网络
This question already has answers here: Closed 11 years ago. Possible Duplicate: Looking for Java spell checker library
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

精彩评论

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