Suggestion: Intelligent 404

How about a plug-in that creates an intelligent 404 page based on the Levenshtein distance of the page sought ( http://www.merriampark.com/ld.htm ) I did this once in asp.net (back when I used to program in asp.net) and still have the code in vb.net which shouldn't be too hard to translate to php.

Andrew