PHP Classes
elePHPant
Icontem

lib_dictionary: Check text spelling with a dictionary in MySQL

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2007-05-14 (9 years ago) RSS 2.0 feedNot enough user ratingsTotal: 408 All time: 6,166 This week: 987Up
Version License PHP version Categories
lib_dictionary 1.1.1GNU General Publi...4.0Databases, Text processing
Description Author

This package can be used to check spelling of text using a dictionary stored in a MySQL database. It can:

- Check whether a word exists in the dictionary
- Check the spelling of a given phrase using HTML tags to highlight with a different color the words that may be misspelled
- Add words from a file
- Search for words similar to a given word with length that may differ no more than a given size

Picture of David Frendin
  Performance   Level  
Name: David Frendin <contact>
Classes: 2 packages by
Country: Sweden Sweden

Details
	::mySQL table
To create the mySQL dictionary table, just run the provided "database.sql" in phpMyAdmin.



	::The wordlist
First of all, you will need to have a wordlist to populate your database dictionary table with.

For an English wordlist, I recomend that you download the wordlist.txt from:
http://www.phpclasses.org/browse/package/1992.html

For an example on how to appent wordlists to your dictionary, see the "example_add_wordlist.php"



	::The provided database class
Copyright by the phpbb2 development group, it follows most "standards" of db classes so it shouldnt be very hard to port to your db class of choice.



	::The license
All contents are GPL licensed, for more information read the provided "license.txt"



	::Questions/comments
For and questions or comments, just mail me at:
david.frendin@gmail.com
Screenshots  
  • scr.gif
  Files folder image Files  
File Role Description
Accessible without login Plain text file dictionary.sql Data sql table structure
Accessible without login Plain text file example_add_wordlist.php Example example for populating the dictionary
Accessible without login Plain text file example_phrase.php Example Example: Correct an entire phrase
Accessible without login Plain text file example_single.php Example Example: Correct a single word
Accessible without login Plain text file lib_dictionary.php Class lib_dictionary
Accessible without login Plain text file license.txt Lic. License agreement
Accessible without login Plain text file mysql4.php Class database class from phpbb2
Accessible without login Plain text file readme.txt Doc. Getting started - You _should_ read this

Downloadlib_dictionary-2007-05-14.zip 16KB
Downloadlib_dictionary-2007-05-14.tar.gz 14KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
Spell Checker Download .zip .tar.gz Content: English wordlist Recommended
 Version Control Unique User Downloads Download Rankings  
 0%
Total:408
This week:0
All time:6,166
This week:987Up