Login   Register  
PHP Classes
elePHPant
Icontem

MySQL Spell Checker: Spell check texts with a MySQL table as dictionary

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of sam
Name: sam <e-mail contact>
Packages: 3 Browse all classes by sam Browse all classes by
Country: United Kingdom United Kingdom - PHP jobs in United Kingdom
Age: 25
All time rank: 47723 in United Kingdom United Kingdom
Week rank: 323 Up12 in United Kingdom United Kingdom Up
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download Download .zip .tar.gz  
This class can be used to check the spelling of text.

It uses a MySQL database table to store the dictionary of valid words.

It can process a text and return all words that seem to be wrong. It may also highlight the wrong words using HTML tags to change the presentation style of the words to be highlighted.

For wrong words it may also provide a list of suggestions of words with similar sounding using the soundex algorithm.

  Classes of sam  >  MySQL Spell Checker  >  Download Download .zip .tar.gz  >  Support forum Support forum (3)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: MySQL Spell Checker
Base name: mysqlspellchecker
Description: Spell check texts with a MySQL table as dictionary
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 2285 users
All time rank: 1562
Week users: 5 users
Week rank: 421 Up
 
  Groups   Rate classes User ratings   Applications   Related links   Files Files  

  Groups  
Group folder image HTML HTML generation and processing View top rated classes
Group folder image Databases Database management, accessing and searching View top rated classes
Group folder image Text processing Manipulating and validating text data View top rated classes
Group folder image Validation Validation algorithms View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
October 2005
Number 7
There are several types of applications that permit their users to compose text documents for publishing. Spell checking is important to not let the eventual mistakes go unnoticed before publishing.

Spell checker applications use dictionaries that contain a great part of the words in use of a given idiom. These dictionaries are used to verify whether the given words exist and eventually suggest alternatives based on similar known words.

The class provides an implementation of a spell checking component that stores its dictionary in a MySQL database, providing efficient word lookup and alternative suggestions.

This way it can work well in restricted hosting environments that provide access to MySQL databases, but not to special PHP extensions dedicated to spell checking .

Manuel Lemos

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (87.5%) Good (91.7%) - Sufficient (66.7%) - - Not sure (59.6%) 913
Month: Not yet rated by the users

  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.

  Related links  
Link Description
Dictionary Link to download a dictionary for the class.

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example file
Plain text file spell-checker-class.php Class Main spell checker class file

Download Download all files: mysqlspellchecker.tar.gz mysqlspellchecker.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.