 |
 |
 |
 |
Warning: include(../levoe_menu.php) [ function.include]: failed to open stream: No such file or directory in /var/www/prime/data/www/prime-speed.ru/Manual_PHP_4/f/pspell-config-runtogether.html on line 46
Warning: include() [ function.include]: Failed opening '../levoe_menu.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/prime/data/www/prime-speed.ru/Manual_PHP_4/f/pspell-config-runtogether.html on line 46
|
 |
 |
 |
 | |
|  |
(PHP 4 >= 4.0.2)
pspell_config_runtogether - предусматривает объединённые слова/run-together words как правильные.
Описаниеint pspell_config_runtogether (int dictionary_link, bool flag)
pspell_config_runtogether() должна использоваться в config до вызова pspell_new_config(). Эта функция
определяет, рассматриваются ли run-together слова как правильные. То есть, "thecat" будет считаться правильным,
хотя между артиклем и слово должен быть пробел. Изменение этой установки влияет только на результаты, возвращаемые функцией
pspell_check(); pspell_suggest() будет продолжать возвращать варианты исправления.
Пример 1. pspell_config_runtogether()
$pspell_config = pspell_config_create ("en");
pspell_config_runtogether ($pspell_config, true);
$pspell_link = pspell_new_config ($pspell_config);
pspell_check ($pspell_link, "thecat"); |
|
|  | |
|
 |
 |
 |
 |
Warning: include(../pravoe_menu.php) [ function.include]: failed to open stream: No such file or directory in /var/www/prime/data/www/prime-speed.ru/Manual_PHP_4/f/pspell-config-runtogether.html on line 146
Warning: include() [ function.include]: Failed opening '../pravoe_menu.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/prime/data/www/prime-speed.ru/Manual_PHP_4/f/pspell-config-runtogether.html on line 146
|
 |
 |
 |
 | |