PHP Classes
Icontem

Class: Spell Corrector


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Felipe Ribeiro  >  Spell Corrector  >  Download  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Spell Corrector Support forum
Base name: spellcorrector
Description: Suggest corrected spelling text in pure PHP
Related top rated classes: , , ,
Version: 0.1
Required PHP version: 5.0
License: BSD License
All time users: 1211 users
All time rank: 2057
Week users: 9 users
Week rank: 840
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Trackback   Applications   Files Files  

Author

Picture of Felipe Ribeiro
Name: Felipe Ribeiro is available for providing paid consulting. Contact Felipe Ribeiro .
Published packages: 2 Browse this author's classes Browse this author's classes
Country: Brazil Brazil - PHP jobs in Brazil
Home page: http://feliperibeiro.com/
Age: 24
All time rank: 802
Week rank: 179

Innovation Award

PHP Programming Innovation award winner
October 2008
Winner
Google provides spelling suggestions to search keywords that seem misspelled.

There is already a PHP class that uses that Google search feature to suggest corrections to given text strings that may be misspelled.

This class provides a a similar solution to Google "Did you mean" to suggest the correct spelling of words. It uses pure PHP code and does not require accessing remote site.

Manuel Lemos

Groups

Group folder image Algorithms Numerical and statistical algorithms View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Text processing Manipulating and validating text data View top rated classes

Detailed description

This class can be used to suggest the correct spelling of text similar to Google "Did you mean" but based on a pure PHP implementation of Peter Norvig correct spelling suggestion algorithm.

It takes a given word and returns a suggestion of the probable correct spelling of the word.

The class can build a dictionary with correctly spelled words from a training text document. The dictionary can be stored in a cache file by serializing the dictionary array.

A sample training text document can be obtained from Peter Norvig site.

User ratings

There are not enough user ratings to display for this class.

Trackback links

Link Description
Você quis dizer com PHP Recentemente precisei implementar um sistema de correção ortográfica “à la Google”...

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Files

File Role Description
Plain text file README Doc. README file
Plain text file SpellCorrector.php Class The class itself
Download all files: spellcorrector.tar.gz spellcorrector.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products