Click here to Skip to main content
15,947,411 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hello everyone,

i want to make a program that can suggest a word base on our input.i dont know how to explain more about it. But for example, i want to spell "battery" but i put "bettcry" as the input. Anyone can help or have an ideas?

really appreciate..
Posted

The quality of the proposed words highly depends on the algorithm you choose. One very straightforward is SOUNDEX[^]. Not sure if that's suitable to your needs, but have a look
 
Share this answer
 
Comments
Maciej Los 17-May-12 10:49am    
+5!
Wendelius 17-May-12 14:07pm    
Thanks
kodikoko 19-Sep-12 10:41am    
thanks..this is helpful
Wendelius 19-Sep-12 10:50am    
You're welcome :)
If you're looking for database algorithm to "catch" bad inputs, see SIMIL[^] slgorithm.
 
Share this answer
 
Comments
Wendelius 17-May-12 14:07pm    
Good suggestion
Maciej Los 17-May-12 16:05pm    
Thank you, Mika ;)
kodikoko 19-Sep-12 10:41am    
thanks..this is helpful

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900