On Dec 12, 6:39 pm, Astan Chee <[EMAIL PROTECTED]> wrote: > Hi, > Thanks for all the help from the previous problem. Turns out I didnt > have to use wxSizers, just change the size of my wxWidgets everytime a > EVT_SIZE is called. > Anyway, Im trying to find a python module (im not sure if it exists) > that takes two words and compares if they sound the same. So 'right' and > 'write' sounds the same or 'u' and 'you' . Also I know this takes into > account the use of language and accent but is there any out there before > I start making my own? > Thanks > Astan
I don't think this exists. It would require some kind of "fuzzy logic" to do, I think. You'll probably want to look into speech recognition as it sounds the closest to what you want/need. Here a couple links I found with Google: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/93025 http://speechwiki.org/ http://www.synapseadaptive.com/joel/natlink_m.htm Otherwise, I think you'd need to write some kind of hash table with all the variations for each word, then you'd apply some artificial intelligence or that fuzzy logic I mentioned previously to get what you want. And no, I've never done this sort of thing. This is just me rambling on... Mike -- http://mail.python.org/mailman/listinfo/python-list