Re: "Near Miss" error handling?

"Joachim Durchholz" <joachim_d@gmx.de>
4 Apr 2001 00:17:19 -0400

          From comp.compilers

Related articles
[4 earlier articles]
Re: "Near Miss" error handling? guerby@acm.org (Laurent Guerby) (2001-03-31)
Sv: "Near Miss" error handling? sskaflot@online.no (srs srs) (2001-03-31)
Re: "Near Miss" error handling? samiam@cisco.com (Scott Moore) (2001-03-31)
Re: "Near Miss" error handling? Martin.Ward@durham.ac.uk (2001-03-31)
Re: "Near Miss" error handling? ian.trudel@tr.cgocable.ca (Ian Trudel) (2001-03-31)
Re: "Near Miss" error handling? joachim_d@gmx.de (Joachim Durchholz) (2001-04-04)
Re: "Near Miss" error handling? joachim_d@gmx.de (Joachim Durchholz) (2001-04-04)
Re: "Near Miss" error handling? uabbwat@uab.ericsson.se (Barry Watson) (2001-04-04)
Sv: "Near Miss" error handling? sskaflot@online.no (srs srs) (2001-04-10)
Re: "Near Miss" error handling? ralph@inputplus.demon.co.uk (2001-04-14)
Re: Sv: "Near Miss" error handling? pfaffben@msu.edu (Ben Pfaff) (2001-04-15)
Re: "Near Miss" error handling? henry@spsystems.net (2001-04-15)
Re: "Near Miss" error handling? dmitry@elros.cbb-automation.de (2001-04-16)
[2 later articles]
| List of all articles for this month |
From: "Joachim Durchholz" <joachim_d@gmx.de>
Newsgroups: comp.compilers
Date: 4 Apr 2001 00:17:19 -0400
Organization: Compilers Central
References: 01-03-135 01-03-171
Keywords: errors
Posted-Date: 04 Apr 2001 00:17:19 EDT

srs srs <sskaflot@online.no> wrote:
> You could probably use the Soundex algorithm or a variant.


Note that Soundex is tied to the English language. Applying it to words
in any other language produces utter nonsense.
I know of no other-language equivalents of Soundex, and I don't have the
slightest idea how to construct one.


The other point is, if it's mistyped identifiers, you probably don't
want Soundex anyway. Soundex is useful if you want to identify names
that were misheard, which errors in programming are (usually) mistyped,
with totally different error characteristics.
Typical typos are omitted, transposed, or inserted characters. Typical
"hearos" are wrong vowels and partly omitted syllables.


Regards,
Joachim


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.