enchant_dict_remove_from_session

Remove a word from the session dictionary

Description

void enchant_dict_remove_from_session(EnchantDictionary $dictionary, string $word)

Removes a word that was previously added to the current spell-checking session via enchant_dict_add_to_session.

Parameters

dictionary
An Enchant dictionary returned by enchant_broker_request_dict or enchant_broker_request_pwl_dict.
word
The word to remove from the session.

Return Values

No value is returned.

Errors/Exceptions

Throws a ValueError if dictionary is not usable, for example if it is uninitialized or was already released with enchant_broker_free_dict.

See Also

  • enchant_dict_add_to_session
  • enchant_dict_remove
  • enchant_dict_is_added_to_session