Re: Spell check idea

2000-01-18 Thread Steven D'Aprano
Richard MacLemale wrote: > I know that several people are working on their own on a > spell check engine for MetaCard. [snip] Its a good algorithm, but I think it could be simplified a bit. Try: function soundex thisWord -- returns less any vowels, near-vowels and -- duplicate characte

Re: Spell check idea

2000-01-17 Thread Geoff Canyon
It appears that on 1/16/00 5:18 PM, Richard MacLemale [EMAIL PROTECTED] wrote: >function soundex thisWord > put char 1 of thisWord into thisWord2 > repeat with j = 2 to (the number of chars of thisWord) >if char j of thisWord = char j+1 of thisWord then next repeat >if (char j of thisW

Spell check idea

2000-01-16 Thread Richard MacLemale
I know that several people are working on their own on a spell check engine for MetaCard. I too have been doing this, and here's an idea worth sharing - my own version of "soundex". The phone company uses something called a soundex to match names that sound alike, and basically what it does is a