Next: , Previous: , Up: Emacspeak Commands And Options   [Contents][Index]

12.149 emacspeak-pronounce

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.

12.149.1 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.

12.149.2 Emacspeak-Pronounce Commands emacspeak-pronounce-clear-dictionaries

Command: emacspeak-pronounce-clear-dictionaries
Clear all current pronunciation dictionaries. emacspeak-pronounce-define-local-pronunciation

Command: emacspeak-pronounce-define-local-pronunciation (word pron)
Define buffer local pronunciation.
Argument ‘word’ specified the word to be pronounced.
Argument ‘pron’ specifies the new pronunciation. 

(fn WORD PRON) emacspeak-pronounce-define-pronunciation

Command: emacspeak-pronounce-define-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. emacspeak-pronounce-define-template-pronunciation

Command: emacspeak-pronounce-define-template-pronunciation
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. emacspeak-pronounce-dispatch

Command: emacspeak-pronounce-dispatch
C-e M-d
<fn> M-d
Pronounce Frontend emacspeak-pronounce-edit-pronunciations

Command: emacspeak-pronounce-edit-pronunciations (key)
Prompt for and launch a pronunciation editor on the
specified pronunciation dictionary key.

(fn KEY) emacspeak-pronounce-load-dictionaries

Command: emacspeak-pronounce-load-dictionaries (&optional filename)
Load pronunciation dictionaries.
Optional argument FILENAME specifies the dictionary file,
Default is emacspeak-pronounce-dictionaries-file.

(fn &optional FILENAME) emacspeak-pronounce-merge-dictionaries

Command: emacspeak-pronounce-merge-dictionaries (from into)
Merge dic ‘from’ into dict ‘into’

(fn FROM INTO) emacspeak-pronounce-refresh-pronunciations

Command: emacspeak-pronounce-refresh-pronunciations
Refresh pronunciation table for current buffer. emacspeak-pronounce-save-dictionaries

Command: emacspeak-pronounce-save-dictionaries
Saves  pronunciation dictionaries. emacspeak-pronounce-toggle-use-of-dictionaries

Command: emacspeak-pronounce-toggle-use-of-dictionaries (&optional state)
Toggle  pronunciation dictionaries. 

(fn &optional STATE) emacspeak-pronounce-toggle-voice

Command: emacspeak-pronounce-toggle-voice
Toggle use of pronunciation personality.

12.149.3 emacspeak-pronounce Options

Variable: User Option emacspeak-pronounce-common-xml-namespace-uri-pronunciations

Namespace URIs.

Default Value: (( . atom ) ( . RDF Syntax) ( . xhtml2 ) ( . XInclude) ( . XSLT ) ( . XForms ) ( . XEvents ) ( . vxml ) ( . XSI ) ( . XSD ) ( . xhtml ) ( . DC) ( . media))

Variable: User Option emacspeak-pronounce-dictionaries-file

File that holds emacspeak pronunciations.

Default Value: /home/raman/.emacspeak/.dictionary

Variable: User Option emacspeak-pronounce-internet-smileys-pronunciations


Default Value: ((:-) . smile ) (;) . half-wink ) (:) . grin ) (:-( . frown ) (:( . sigh ) (:-I . shrug ) (:-> . sarcastic smile ) (>:-> . devillish smile ) (>;-> . lewd smile ) (;-) . wink ))

Next: emacspeak-py, Previous: emacspeak-projectile, Up: Emacspeak Commands And Options   [Contents][Index]