array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'es', ), 'this' => array ( 0 => 'function.pspell-config-ignore.php', 1 => 'pspell_config_ignore', ), 'up' => array ( 0 => 'ref.pspell.php', 1 => 'Funciones de Pspell', ), 'prev' => array ( 0 => 'function.pspell-config-dict-dir.php', 1 => 'pspell_config_dict_dir', ), 'next' => array ( 0 => 'function.pspell-config-mode.php', 1 => 'pspell_config_mode', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'es', 'path' => 'reference/pspell/functions/pspell-config-ignore.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4 >= 4.0.2, PHP 5, PHP 7, PHP 8)
pspell_config_ignore — Ignorar palabras con menos de N caracteres
pspell_config_ignore() debería usarse en una configuración antes de llamar a pspell_new_config(). Esta función permite al corrector de ortografía saltarse palabras cortas.
dictionary_link
n
Las palabras con menos de n
caracteres serán saltadas.
Ejemplo #1 pspell_config_ignore()
<?php
$pspell_config = pspell_config_create("en");
pspell_config_ignore($pspell_config, 5);
$pspell_link = pspell_new_config($pspell_config);
pspell_check($pspell_link, "abcd"); //no resultará en un error
?>