PHP Classes
Icontem

Class: Spell Checker


  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 Reza Salehi  >  Spell Checker  >  Download  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Spell Checker Support forum
Base name: spell_checker
Description: Text spell checking based only in PHP code
Related top rated classes: ,
Version: -
Required PHP version: -
License: Free for non-commercial use
All time users: 2727 users
All time rank: 879
Week users: 8 users
Week rank: 977
 
  Author   Group folder image Groups   Detailed description   Freshmeat project  
  Rate classes User ratings   Dependents   Applications   Files Files  

Author

Picture of Reza Salehi
Name: Reza Salehi <e-mail contact>
Published packages: 18 Browse this author's classes Browse this author's classes
Country: Canada Canada - PHP jobs in Canada
Home page: http://www.dreamstube.com/
Age: 29
All time rank: 43
Week rank: 129

Innovation Award

PHP Programming Innovation award winner
December 2004
Winner
The applications that let the users compose text, for instance, of articles or e-mail messages, can benefit of text spelling features as they let the users review and eventually fix spelling mistakes before submitting the final version of the texts that are composed.

PHP comes with text spelling extensions like pspell but in some installations these extensions are not available.

This class provides a text spelling solution completely based on PHP code that only uses basic functions

The class makes it possible to provide text spelling features without depending on the availability of PHP spelling extensions.

Manuel Lemos

Groups

Group folder image Text processing Manipulating and validating text data View top rated classes

Detailed description

This class is meant to check the spelling of texts using only base PHP commands, thus not using any special purpose extension.

It uses a dictionary text file named as its spelling knowledge base.

For greater performance the class uses the dictionary words (currently almost 40,000) to build a dynamic hashed lookup table.

The class can also provide suggestions for the misspelled words that are found.

The dictionary file can be updated to include any missing words.

Freshmeat project

Spell Checker
Project record: spellchecker
Popularity score: 25.1
Vitality score: 1.0

User ratings

Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Sufficient (67.9%)
Good (92.9%)
-
Sufficient (78.6%)
-
-
Not sure (51.1%)
1252
Month:
Not yet rated by the users

Packages that need this class

Class Dependency Why it is needed
lib_dictionary
Recommended
Content: English wordlist

Applications that use this class

Link Description
Powerful Online spell checker! this program uses the spell checker class to find misspled words and also it gives suggestion for currect spelling.
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 dictionary.txt Data knowlodge base
Plain text file dictionary_class.php Class spell checker main class
HTML file index.htm Data input form
Plain text file index.php Example script to use the class
Download all files: spell_checker.tar.gz spell_checker.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