« 国际化与字符编码支持
简介 »
PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境
PHP Manual
国际化与字符编码支持
Enchant spelling library
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_dict_path
— Get the directory path for a given backend
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_dict_path
— Set the directory path for a given backend
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