array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'function.pspell-config-ignore.php', 1 => 'pspell_config_ignore', ), 'up' => array ( 0 => 'ref.pspell.php', 1 => 'Pspell İşlevleri', ), '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' => 'en', '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 — Ignore words less than N characters long
pspell_config_ignore() should be used on a config before calling pspell_new_config(). This function allows short words to be skipped by the spell checker.
config
PSpell\Config örneği.
min_length
Words less than min_length
characters will be skipped.
Sürüm: | Açıklama |
---|---|
8.1.0 |
The config parameter expects an
PSpell\Config
instance now; previously, a resource was expected.
|
Örnek 1 pspell_config_ignore()
<?php
$pspell_config = pspell_config_create("en");
pspell_config_ignore($pspell_config, 5);
$pspell = pspell_new_config($pspell_config);
pspell_check($pspell, "abcd"); //will not result in an error
?>