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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 425 All time: 6,270 This week: 237Up
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: 6 packages by
Country: Nigeria Nigeria
Age: 27
All time rank: 13814 in Nigeria Nigeria
Week rank: 252 Up9 in Nigeria Nigeria Down
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:425
This week:0
All time:6,270
This week:237Up

For more information send a message to info at phpclasses dot org.