2007-01-16 18:52:13 +01:00
|
|
|
<?php
|
|
|
|
$spellCheckerConfig = array();
|
|
|
|
|
2007-03-07 05:26:26 +01:00
|
|
|
// Spellchecker class use
|
|
|
|
// require_once("classes/TinyPspellShell.class.php"); // Command line pspell
|
|
|
|
require_once("classes/TinyGoogleSpell.class.php"); // Google web service
|
|
|
|
// require_once("classes/TinyPspell.class.php"); // Internal PHP version
|
|
|
|
|
2007-01-16 18:52:13 +01:00
|
|
|
// General settings
|
|
|
|
$spellCheckerConfig['enabled'] = true;
|
|
|
|
|
|
|
|
// Default settings
|
|
|
|
$spellCheckerConfig['default.language'] = 'en';
|
|
|
|
$spellCheckerConfig['default.mode'] = PSPELL_FAST;
|
|
|
|
|
|
|
|
// Normaly not required to configure
|
|
|
|
$spellCheckerConfig['default.spelling'] = "";
|
|
|
|
$spellCheckerConfig['default.jargon'] = "";
|
|
|
|
$spellCheckerConfig['default.encoding'] = "";
|
|
|
|
|
2007-03-07 05:26:26 +01:00
|
|
|
// Pspell shell specific settings
|
|
|
|
$spellCheckerConfig['tinypspellshell.aspell'] = '/usr/bin/aspell';
|
|
|
|
$spellCheckerConfig['tinypspellshell.tmp'] = '/tmp';
|
2007-01-16 18:52:13 +01:00
|
|
|
?>
|