Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Checking words in dictionary using Java Application

Status
Not open for further replies.

puredesi5

Programmer
Sep 26, 2001
50
0
0
US
Does anyone know how can I check words (entered via JTextFeilds or other means) in dictionary? Just like MicroSoft Word does. I would really appreciate if someone can help.
 
You'll need a "dictionary" - probably the best bet is a database. This will be the hardest part - I've no idea where you would get that kind of data.

You can then connect to your db via JDBC, and perform searches on your user's word.
 
There are no methods that are built into the Java API itself. You can create your own spell checker or buy an API (do a search on Google for "Java Spell Checker".

I could not find any articles on how to build a spell checker in Java; however I did find some for C++. The concept should be the same though...


Hope this helps....
 
Sedj, JVZ:

I thank both of you for your input.
Thanks, puredesi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top