RE: [PHP] Spell Checker
| From: | Dan Harrington | Date: | Tue, 18 Apr 2006 07:40:13 +0000 |
| Subject: | RE: [PHP] Spell Checker | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-234160@lists.php.net to get a copy of this message | ||
Possibly the Porter Stemming Algorithm could help you?
Just an idea . . . Basically I'm thinking that in each string, you would
break it down into a combination of root words and
Prefixes and suffixes. Definitely some serious data crunching going on.
Hope this helps.
http://www.chuggnutt.com/stemmer.php (this just
just one implementation of
it)
See this for the background theory and more info:
http://en.wikipedia.org/wiki/Stemming_algorithm
Dan
-----Original Message-----
From: Jochem Maas [mailto:jochem@iamjochem.com]
Sent: Tuesday, April 18, 2006 1:31 AM
To: BH.VN.Viswanath
Cc: php-general@lists.php.net
Subject: Re: [PHP] Spell Checker
BH.VN.Viswanath wrote:
> Hi
>
>
>
> We need to check the spelling of a word which is actually a Domain
> name. For example we have to check the word "onlinetradeing". When
> checked with the spell checkers we are getting the words which are
> unrelated such as on, obliterating, incinerating, intruding etc. But
> exactly what we want was "online trading". So we would like to have
> the word to be split into phrases and check the spelling too. The
> normal spell checkers are just checking the words in the dictionary but
not splitting the word into phrases.
by all means ask a question.
oh btw, I doubt there are many tools out there capable fo smelling that you
want a space between the 'e' and the 't' of "onlinetradeing".
>
>
>
> Regards
>
> BH.VN.Viswanath
>
>
--
PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php