pspell_runtogether

(unknown)

pspell_runtogether --  Consider run-together words as legal compounds

Description

boolean pspell_runtogether (int dictionary_link, int mode)

Pspell_runtogether() Consider run-together words as legal compounds. That is, "thecat" will be a legal compound, athough there should be a space between the two words. Changing this setting only affects the results returned by pspell_check(); pspell_suggest() will still return suggestions, and they are not affected by the calls to php_runtogether().

Esempio 1. Pspell_runtogether()


$pspell_link = pspell_new ("english");
pspell_runtogether (true);
echo pspell_runtogether ($pspell_link, "thecat") ? "correct" : "wrong";