PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 442 All time: 6,245 This week: 673Up
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
Innovation award
Innovation award
Nominee: 3x

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:442
This week:0
All time:6,245
This week:673Up