PHP Classes
elePHPant
Icontem

PHP Spell Check: Check the spelling of text and suggest corrections

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2015-09-03 (1 year ago) RSS 2.0 feedNot yet rated by the usersTotal: 341 All time: 6,670 This week: 884Up
Version License PHP version Categories
spell-check 1.0.0GNU General Publi...5Algorithms, PHP 5, Text processing, V...
Description Author

This class can check the spelling of text and suggest corrections.

It can takes a given string and lookup an internal dictionary to determine if the string words are spelled correctly.

For words supposedly misspelled the class computes the levenshtein factor between the misspelled word and the words in the dictionary to determine which one looks more similar, so it can present it as spelling correction.

Innovation Award
PHP Programming Innovation award nominee
October 2015
Number 9
PHP has several extensions for checking the spelling of texts. However, you need to have them installed to use them.

This class implements a spell checking solution in pure PHP, so it does not require any additional extensions.

Additionally it can provide suggestions for misspelled words.

Manuel Lemos
Picture of Ore Richard Muyiwa
  Performance   Level  
Name: Ore Richard Muyiwa <contact>
Classes: 5 packages by
Country: Nigeria Nigeria
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Plain text file spellcheck.php Class main class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:341
This week:0
All time:6,670
This week:884Up