PHP Classes
elePHPant
Icontem

File: index.php

Recommend this page to a friend!
  Classes of Ravindu Taveesha  >  Non-Word PHP Spell Checker  >  index.php  >  Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Non-Word PHP Spell Checker
Detect incorrectly spelled words and suggest fixes
Author: By
Last change:
Date: 11 days ago
Size: 228 bytes
 

 

Contents

Class file image Download
<?php
require_once('spellchecker.php');

echo
"Text: I say a horse at a canter coming up <br/>";

$spell = new SpellChecker;
echo
'<pre>'; print_r($spell->check("I say a hrse at a canter cming up")); echo '</pre>';