Overview

Packages

  • SpellChecker

Classes

  • Horde_SpellChecker
  • Horde_SpellChecker_Aspell
  • Overview
  • Package
  • Class
  • Tree

Class Horde_SpellChecker

The Horde_SpellChecker:: class provides a unified spellchecker API.

Copyright 2005-2012 Horde LLC (http://www.horde.org/)

See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Direct known subclasses

Horde_SpellChecker_Aspell
Abstract
Package: SpellChecker
Author: Chuck Hagenbuch chuck@horde.org
Author: Michael Slusarz slusarz@horde.org
Located at Horde/SpellChecker.php
Methods summary
public static Horde_SpellChecker
# factory( string $driver, array $params = array() )

Attempts to return a concrete Horde_SpellChecker instance based on $driver.

Attempts to return a concrete Horde_SpellChecker instance based on $driver.

Parameters

$driver
<p>The type of concrete Horde_SpellChecker subclass to return.</p>
$params
<p>A hash containing any additional configuration or connection parameters a subclass might need.</p>

Returns

Horde_SpellChecker

The newly created Horde_SpellChecker instance.

Throws

Horde_Exception
public
# __construct( mixed $params = array() )

Constructor.

Constructor.

public
# setParams( array $params )

TODO

TODO

Parameters

$params
TODO
abstract public array
# spellCheck( string $text )

TODO

TODO

Parameters

$text
TODO

Returns

array
TODO

Throws

Horde_Exception
Constants summary
integer SUGGEST_FAST
# 1
integer SUGGEST_NORMAL
# 2
integer SUGGEST_SLOW
# 3
API documentation generated by ApiGen