I was wondering if one can look-up English words in Emacs from an English dictionary that includes IPA or plays a sound. I am using define-word.el package, which is very good but doesn't have IPA.


or plays a sound

Something in that spirit will, at least, give you the reading of the word you're looking for, assuming you have something like espeak installed on your computer

(defun my-read-word-at-point () "READ CURRENT WORD." (interactive) (message "reading: %s" (thing-at-point 'word 'no-properties)) (shell-command (format "espeak -v en-us %s" (thing-at-point 'word 'no-properties))))

  • Thanks. Never knew about espeak - sounds a bit weird but I think will do the job for now. – A. Blizzard Mar 11 '18 at 22:09
  • 1
    I wrote a bash script to parse HTML page from Oxford Online Dictionary for a word and play it with mplayer as you suggested above and render the IPA in the minibuffer. – A. Blizzard Mar 17 '18 at 17:59
  • @A.Blizzard Really nice.You may also want to read this answer, just in case o/ – Nsukami _ Mar 18 '18 at 19:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.