PHP - Spell checking

From LXF Wiki

Practical PHP Programming

(Original version written by Paul Hudson for LXF issue 67.)


Our threat to the production staff, "I will replace you with a very small shell script", finally comes true...


Long-time readers of LXF will know that spelling is not our forte. In fact, you would be forgiven for thinking that our production monkeys spent months on strike over a raise in their peanut rations, as typos that even OpenOffice.org could have spotted flew past into print. However, it is a sign of the times that we remain a cut above the rest: we rarely if ever say "w00t!", we do try to avoid "Micro$oft", and to the best of my knowledge we have never said anything was "the suXX0rs" no matter how negative a review was.

This month we shall examine the ways in which PHP can help proof read - and correct - written English. If you found last month mathematically challenging, this month is going to be a curve ball to the other hemisphere of your brain as we investigate how phonetics actually have a valuable part to play outside of the classroom.