downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

pspell_config_mode> <pspell_config_dict_dir
[edit] Last updated: Fri, 25 May 2012

view this page in

pspell_config_ignore

(PHP 4 >= 4.0.2, PHP 5)

pspell_config_ignore長さが N 文字未満の単語を無視する

説明

bool pspell_config_ignore ( int $dictionary_link , int $n )

pspell_config_ignore() は、 pspell_new_config() をコールする前に使用しなければなりません。 この関数は、スペルチェッカに無視させる短い単語の長さを指定します。

パラメータ

dictionary_link

n

n 文字より短い単語をスキップします。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。

例1 pspell_config_ignore()

<?php
$pspell_config 
pspell_config_create("en");
pspell_config_ignore($pspell_config5);
$pspell_link pspell_new_config($pspell_config);
pspell_check($pspell_link"abcd");    // エラーとはなりません
?>



add a note add a note User Contributed Notes pspell_config_ignore
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites