| Recommend this page to a friend! |
| Classes of Felipe Ribeiro | > | Spell Corrector | > | Download .tar.gz .zip | > | > | > | |||||
|
| ||||||||||||||||||||||||||||||||||||||||||||
| Detailed description | ||
| 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. |
| Groups | ||
| Algorithms | Numerical and statistical algorithms | View top rated classes | |
| PHP 5 | Classes using PHP 5 specific features | View top rated classes | |
| Text processing | Manipulating and validating text data | View top rated classes |
| Trackback | Applications | |||||||
No application links were specified for this class.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||