>![]() |
Commentary: This module implements user customizable pronunciation dictionaries for emacspeak. Custom pronunciations can be defined per file, per directory and/or per major mode. Emacspeak maintains a persistent user dictionary upon request and loads these in new emacspeak sessions. This module implements the user interface to the custom dictionary as well as providing the internal API used by the rest of emacspeak in using the dictionary. Algorithm:
The persistent dictionary is a hash table where the hash keys are filenames, directory names, or major-mode names. The hash values are association lists defining the dictionary. Users of this module can retrieve a dictionary made up of all applicable association lists for a given file.
Automatically generated documentation for commands defined in module emacspeak-pronounce.
Clear all current pronunciation dictionaries.
Define buffer local pronunciation. Argument WORD specifies the word which should be pronounced as specified by PRONUNCIATION.
Interactively define entries in the pronunciation dictionaries. Default term to define is delimited by region. First loads any persistent dictionaries if not already loaded.
Interactively define template entries in the pronunciation dictionaries. Default term to define is delimited by region. First loads any persistent dictionaries if not already loaded.
control e meta d
Provides the user interface front-end to Emacspeak's pronunciation dictionaries.
Prompt for and launch a pronunciation editor on the specified pronunciation dictionary key.
Load pronunciation dictionaries. Optional argument FILENAME specifies the dictionary file.
Refresh pronunciation table for current buffer. Activates pronunciation dictionaries if not already active.
Writes out the persistent emacspeak pronunciation dictionaries.
Toggle use of pronunciation dictionaries in current buffer. Pronunciations can be defined on a per file, per directory and/or per mode basis. Pronunciations are activated on a per buffer basis. Turning on the use of pronunciation dictionaries results in emacspeak composing a pronunciation table based on the currently defined pronunciation dictionaries. After this, the pronunciations will be applied whenever text in the buffer is spoken. Optional argument state can be used from Lisp programs to explicitly turn pronunciations on or off.