Add the English pronunciation functionality to Emacs.
This package is not on MELPA.
Install the required packages:
emms
request
s
Then place hatsuon.el
in your load-path
, and put the following line in your init.el
file:
(require 'hatsuon)
Or using use-package
with straight
:
(use-package hatsuon
:straight (:host github :repo "okomestudio/hatsuon.el"))
By default, hatsuon.el
pull audio from Wiktionary. To use audio from other sites, load their audio URL getter extension:
(use-package hatsuon
:straight (:host github :repo "okomestudio/hatsuon.el"
:files (:defaults "extensions/*"))
:custom (hatsuon-audio-url-getters '(hatsuon-mw-audio-url-getter))
:config
(require 'hatsuon-mw))
hatsuon-play-audio
: Play the audio for the wordhatsuon-remove-cached-audio-file
: Remove an audio file cached locally
Add external audio getters as extensions.
Initial release.
TBD.