PHP Classes
elePHPant
Icontem

Spell Checker: Text spell checking based only in PHP code

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2004-12-02 (13 years ago) RSS 2.0 feedStarStarStar 47%Total: 3,458 This week: 1All time: 969 This week: 480Up
Version License Categories
spell_checker 1.0.0Free for non-comm...Text processing
Description Author

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.

Innovation Award
PHP Programming Innovation award winner
December 2004
Winner


Prize: One book of choice by O'Reilly
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
Name: Reza Salehi <contact>
Classes: 18 packages by
Country: Canada Canada
Innovation award
Innovation award
Nominee: 1x

Winner: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file dictionary.txt Data knowlodge base
Plain text file dictionary_class.php Class spell checker main class
Accessible without login HTML file index.htm Data input form
Accessible without login Plain text file index.php Example script to use the class

 Version Control Reuses Unique User Downloads Download Rankings  
 0%1
Total:3,458
This week:1
All time:969
This week:480Up
 User Ratings  
 
 All time
Utility:63%StarStarStarStar
Consistency:84%StarStarStarStarStar
Documentation:-
Examples:70%StarStarStarStar
Tests:-
Videos:-
Overall:47%StarStarStar
Rank:2521