Регистрация Войти
Войти через VK Войти через FB Войти через Google Войти через Яндекс
Войти через VK Войти через FB Войти через Google Войти через Яндекс
Поиск по сайту
Enchant spelling library
- Введение
- Установка и настройка
- Требования
- Установка
- Настройка во время выполнения
- Типы ресурсов
- Предопределенные константы
- Примеры
- Enchant Функции
- enchant_broker_describe — Enumerates the Enchant providers
- enchant_broker_dict_exists — Whether a dictionary exists or not. Using non-empty tag
- enchant_broker_free_dict — Free a dictionary resource
- enchant_broker_free — Free the broker resource and its dictionnaries
- enchant_broker_get_error — Returns the last error of the broker
- enchant_broker_init — create a new broker object capable of requesting
- enchant_broker_list_dicts — Returns a list of available dictionaries
- enchant_broker_request_dict — create a new dictionary using a tag
- enchant_broker_request_pwl_dict — creates a dictionary using a PWL file
- enchant_broker_set_ordering — Declares a preference of dictionaries to use for the language
- enchant_dict_add_to_personal — add a word to personal word list
- enchant_dict_add_to_session — add 'word' to this spell-checking session
- enchant_dict_check — Check whether a word is correctly spelled or not
- enchant_dict_describe — Describes an individual dictionary
- enchant_dict_get_error — Returns the last error of the current spelling-session
- enchant_dict_is_in_session — whether or not 'word' exists in this spelling-session
- enchant_dict_quick_check — Check the word is correctly spelled and provide suggestions
- enchant_dict_store_replacement — Add a correction for a word
- enchant_dict_suggest — Will return a list of values if any of those pre-conditions are not met
User Contributed Notes 2 notes
2
wschalle at gmail dot com ¶7 months ago
As of PHP 5.4.13 and 5.3.23, enchant now requires the broker plugins (libenchant_ispell.dll, libenchant_myspell.dll) to be placed in the <PHP_DIR>/lib/enchant directory. If they are not in that directory, they will silently fail to load, and calls to enchant_broker_describe will return an empty array.
0
pavel dot bazika at icewarp dot com ¶5 months ago
As of PHP 5.4.13 and 5.3.23 it is still possible to override default enchant brokers directory using Windows registry key HKLM/Software/Enchant/Config/Module_Dir or Linux environment variable ENCHANT_CONFIG_DIR.
Смотрите также:
Описание на ru2.php.net
Описание на php.ru