Recommend this page to a friend! |
![]() ![]() |
Info | ![]() |
![]() ![]() |
Reputation | Support forum (4) | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
![]() ![]() ![]() ![]() | Total: 6,517 This week: 1 | All time: 321 This week: 237![]() |
Version | License | PHP version | Categories | |||
spellcorrector 0.1 | BSD License | 5.0 | Algorithms, PHP 5, Text processing |
Description | Author | |||||||||||||||||||||||||
This class can be used to suggest the correct spelling of text similar to Google "Did you mean" but based on a pure PHP implementation of Peter Norvig correct spelling suggestion algorithm. Innovation Award
|
|
This class was writen by Felipe Ribeiro <felipernb@gmail.com> using the concepts of Peter Norvig available at www.norvig.com/spell-correct.html. To use this class, you should first download a sample text to be used as dictionary at: www.norvig.com/big.txt then just do: <?php include 'SpellCorrector.php'; echo SpellCorrector::correct('octabr'); //it will output *october* ?> |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
User Ratings | ||||||||||||||||||||||||||||||
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.
Pages that reference this package |
Building a PHP and MySQL search function I’ve been working on the search feature of komparison... |
Você quis dizer com PHP Recentemente precisei implementar um sistema de correção ortográfica “à la Google”... |