MrForsythExeter has asked for the wisdom of the Perl Monks concerning the following question:
Hi Guys, I would like to build my own spell checker.. as the site im working on is hosted on a major shared server and i don't think they will like me installing aspell. Has any one ever done this? any examples out there..? I have the word lists already in a file (one per line).. the main reason im writing this as i would like it to be able to provide guesses.. as it would be quite simple to check for words which werent in the file.. but i have no idea behind the logic or regx's to get the guesses.. any help would be really good
Keep up the good work.
This was the subject of quiz #9 of Marc Jason Dominus's (now defunct?) 'Quiz of the Week'. Check out his analysis of the submissions here or some of the submissions themselves here.