Login   Register  
PHP Classes

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 <contact>
Classes: 3 packages by
Country: United Kingdom United Kingdom
Age: 25
All time rank: 47322 in United Kingdom United Kingdom
Week rank: 276 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: 2317 users
All time rank: 1554
Week users: 2 users
Week rank: 854 Up
  Groups   Rate classes User ratings   Applications   Related pages   Files Files  

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%) Good (91%) - Sufficient (66%) - - Not sure (59%) 920
Month: Not yet rated by the users

  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related pages  
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.