 |
|
Innovation award
 Nominee: 1x
Winner: 1x |
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.
It takes a given word and returns a suggestion of the probable correct spelling of the word.
The class can build a dictionary with correctly spelled words from a training text document. The dictionary can be stored in a cache file by serializing the dictionary array.
A sample training text document can be obtained from Peter Norvig site.
|
|
| Name: |
Spell Corrector |
| Base name: |
spellcorrector |
| Description: |
Suggest corrected spelling text in pure PHP |
| Version: |
0.1 |
| PHP version: |
5.0 |
| License: |
BSD License |
| All time users: |
2916 users |
| All time rank: |
1109 |
| Week users: |
10 users |
| Week rank: |
196  |
| |
|
 October 2008
Winner
Prize: One copy of the Zend Studio |
Google provides spelling suggestions to search keywords that seem misspelled.
There is already a PHP class that uses that Google search feature to suggest corrections to given text strings that may be misspelled.
This class provides a a similar solution to Google "Did you mean" to suggest the correct spelling of words. It uses pure PHP code and does not require accessing remote site.
Manuel Lemos |
| Ratings | Utility |
Consistency |
Documentation |
Examples |
Tests |
Videos |
Overall |
Rank |
| All time: |
Perfect (100.0%) |
Good (93.8%) |
Sufficient (68.8%) |
- |
- |
- |
Sufficient (66.2%) |
390 |
| Month: |
Not yet rated by the users |
| |
Applications that use this class |
|
|
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| |
Files |
|
|