enchant_broker_request_pwl_dict()
(PHP 5 >= 5.3.0, PHP 7, PECL enchant >= 0.1.0)
Creates a dictionary using a PWL file
说明
enchant_broker_request_pwl_dict(resource $broker,string $filename): resource
Creates a dictionary using a PWL file. A PWL file is personal word file one word per line.
参数
- $broker
Broker resource
- $filename
Path to the PWL file. If there is no such file, a new one will be created if possible.
返回值
Returns a dictionary resource on success 或者在失败时返回FALSE
.
参见
enchant_dict_describe()
Describes an individual dictionaryenchant_broker_dict_exists()
Whether a dictionary exists or not. Using non-empty tagenchant_broker_free_dict()
Free a dictionary resource