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_save_repl> <pspell_config_repl
Last updated: Fri, 13 Nov 2009

view this page in

pspell_config_runtogether

(PHP 4 >= 4.0.2, PHP 5)

pspell_config_runtogether複合語を有効な単語の組み合わせとして考慮する

説明

bool pspell_config_runtogether ( int $dictionary_link , bool $flag )

この関数は、複合語を正しい複合語として処理するかどうかを定義します。 つまり、"thecat" には、二つの単語の間に空白はありませんが、 正しい複合語となります。この設定の変更は、 pspell_check() による返り値にのみ影響を与えます。 pspell_suggest() は、この場合でも修正候補を返します。

pspell_config_runtogether() は、 pspell_new_config() をコールする前に設定を行うために使用する必要があります。

パラメータ

dictionary_link

flag

連続した単語を複合語として扱う場合な TRUE、 それ以外の場合は FALSE

返り値

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

例1 pspell_config_runtogether()

<?php
$pspell_config 
pspell_config_create("en");
pspell_config_runtogether($pspell_configtrue);
$pspell_link pspell_new_config($pspell_config);
pspell_check($pspell_link"thecat");
?>



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

pspell_config_save_repl> <pspell_config_repl
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites