Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# Java programming Algorithms , +
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 17-May-12 4:59am
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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
  Permalink  
Comments
losmac at 17-May-12 10:49am
   
+5!
Mika Wendelius at 17-May-12 14:07pm
   
Thanks
kodikoko at 19-Sep-12 10:41am
   
thanks..this is helpful
Mika Wendelius at 19-Sep-12 10:50am
   
You're welcome :)
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

If you're looking for database algorithm to "catch" bad inputs, see SIMIL[^] slgorithm.
  Permalink  
Comments
Mika Wendelius at 17-May-12 14:07pm
   
Good suggestion
losmac at 17-May-12 16:05pm
   
Thank you, Mika ;)
kodikoko at 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)

  Print Answers RSS
0 OriginalGriff 304
1 Sergey Alexandrovich Kryukov 255
2 Maciej Los 250
3 Shweta N Mishra 216
4 PIEBALDconsult 174
0 OriginalGriff 7,660
1 Sergey Alexandrovich Kryukov 7,072
2 DamithSL 5,586
3 Manas Bhardwaj 4,946
4 Maciej Los 4,665


Advertise | Privacy | Mobile
Web01 | 2.8.1411023.1 | Last Updated 17 May 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100