News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Iwan Luijks' Blog:
Using Enchant with PHP on Windows - Part 1
October 14, 2010 @ 11:08:06

Iwan Luijks has written up the first part in a series looking at using the Enchant extension - an interface to other third-party spell-checking APIs.

PHP 5.3 introduced us to some new bundled extensions, including Enchant. The Enchant extension is a binding for the Enchant library. Note: Before PHP 5.3, Enchant was available as optional extension through PECL. This article however only covers the setup and usage of the bundled extension in PHP 5.3 This short tutorial gives an introduction to setting up and using this new extension for your PHP projects.

He talks a bit about what Enchant is and what it allows you to do (including releasing you from the language-specific dependencies of Aspell). Instructions on installing and using the extension are also included as well as a sample code snippet showing its use (checking a string against installed dictionaries). Since the dictionary installation isn't exactly intuitive, he gives an overview of where to grab them and how to set them up for your installation.

0 comments voice your opinion now!
windows tutorial enchant spellcheck spelling api


blog comments powered by Disqus

Similar Posts

DevShed: Displaying User Comments in a Code Igniter Blog Application

Tomas Petricek's Blog: Writing Silverlight applications in PHP

Ralph Schindler's Blog: Compiling Gearman (or anything) for Zend Server CE on Snow Leopard

PHPMaster.com: Manage Complexity with the Facade Pattern

Chris Hartjes' Blog: Smarter DB Migrations using Zend Framework and Doctrine 1.2


Community Events











Don't see your event here?
Let us know!


opinion hhvm release code application facebook overview component unittest framework podcast threedevsandamaybe symfony2 install package introduction language hack composer security

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework