PHP Classes
elePHPant
Icontem

RodaSpell: Correct text spelling using a SQL database

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2006-03-04 (10 years ago) RSS 2.0 feedNot enough user ratingsTotal: 400 All time: 6,183 This week: 920Up
Version License Categories
rodaspell 1.0GNU General Publi...Text processing
Description Author

This package can be used to verify and correct the spelling of a text looking up in a SQL database.

Currently it can work with MySQL or SQLite databases.

The class can install a database spelling table that is used to store the known words and an hash that represents the way the text is spelled.

The class provides a function to add new words to the database.

It can parse a phrase and verify the spelling of each word.

When a unknown or misspelled word is found, it can suggest alternatives based on known words with similar spelling.

Picture of Cesar D. Rodas
  Performance   Level  
Name: Cesar D. Rodas is available for providing paid consulting. Contact Cesar D. Rodas .
Classes: 37 packages by
Country: Paraguay Paraguay
Age: 28
All time rank: 71 in Paraguay Paraguay
Week rank: 72 Down1 in Paraguay Paraguay Equal
Innovation award
Innovation award
Nominee: 24x

Winner: 5x

Details
RodaSpell is a small and strong Spell corrector. And it isnít a simple Spell corrector, if a word isnít good writing, it will suggest you the better one option.

RodaSpell could be used MySQL or SQLite but doesnt care wich one you choose, couse the database is just used like a repository of the words and the phonetic number.

I recommend SQLite for a small list of words, cause SQLite is smaller and with smaller memory requirements. But if you wanna a faster result with up to 2000 list of word, use MySQL


Sorry for my english. :D
  Files folder image Files  
File Role Description
Accessible without login Plain text file mysql.php Example MySQL example
Accessible without login Plain text file README.TXT Doc. read me
Plain text file rodaspell.php Class the heart of the project
Accessible without login Plain text file sqlite.php Example SQLite Example
Plain text file timer.php Class Timer Class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:400
This week:0
All time:6,183
This week:920Up