PHP Classes
elePHPant
Icontem

File: README

Recommend this page to a friend!
  Classes of Felipe Ribeiro  >  Spell Corrector  >  README  >  Download  
File: README
Role: Documentation
Content type: text/plain
Description: README file
Class: Spell Corrector
Suggest corrected spelling text in pure PHP
Author: By
Last change:
Date: 9 years ago
Size: 380 bytes
 

Contents

Class file image Download
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*
?>