Forum Moderators: coopster

Message Too Old, No Replies

Dictionary API or something

need a script that scrambles letters

         

nxfx

1:33 am on Jan 1, 2008 (gmt 0)

10+ Year Member



Hello,

i need a script where i could provide the variable "heoll"
and it would return all possible combinations, like Hello and so on,
kind of like a script that connects to a Dictionary Api and ask
if heoll is a word return true else try next combination!

Any idea if anything like that is out there?

Thank you

coopster

11:53 pm on Jan 11, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Well, for dictionary spelling you have the Pspell Functions [php.net]. But as for pulling every possible combination of a word misspelled? Not sure if you are going to find one. You will likely end up rolling your own function.