Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/okomestudio/hatsuon.el
Add the English pronunciation functionality to Emacs.
https://github.com/okomestudio/hatsuon.el
emacs emacs-package
Last synced: 6 days ago
JSON representation
Add the English pronunciation functionality to Emacs.
- Host: GitHub
- URL: https://github.com/okomestudio/hatsuon.el
- Owner: okomestudio
- License: gpl-3.0
- Created: 2024-02-06T04:44:13.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-10-22T01:34:14.000Z (30 days ago)
- Last Synced: 2024-10-23T01:45:41.019Z (29 days ago)
- Topics: emacs, emacs-package
- Language: Emacs Lisp
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
#+title: hatsuon.el
#+property: LOGGING nilAdd the English pronunciation functionality to Emacs.
* Contents :noexport:
:PROPERTIES:
:TOC: :include siblings
:END:
:CONTENTS:
- [[#installation][Installation]]
- [[#usage][Usage]]
- [[#changelog][Changelog]]
- [[#development][Development]]
- [[#license][License]]
:END:* Installation
:PROPERTIES:
:TOC: :depth 0
:END:
** MELPAThis package is not on MELPA.
** Manual
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:
#+begin_src elisp
(require 'hatsuon)
#+end_srcOr using ~use-package~ with ~straight~:
#+begin_src elisp
(use-package hatsuon
:straight (:host github :repo "okomestudio/hatsuon.el"))
#+end_srcBy default, ~hatsuon.el~ pull audio from Wiktionary. To use audio from other sites, load their audio URL getter extension:
#+begin_src elisp
(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))
#+end_src* Usage
:PROPERTIES:
:TOC: :depth 0
:END:- ~hatsuon-play-audio~: Play the audio for the word
- ~hatsuon-remove-cached-audio-file~: Remove an audio file cached locally* Changelog
:PROPERTIES:
:TOC: :depth 0
:END:
** 0.1Add external audio getters as extensions.
** Alpha
Initial release.
* Development
TBD.
# Local Variables:
# eval: (require 'org-make-toc)
# before-save-hook: org-make-toc
# org-export-with-properties: ()
# org-export-with-title: t
# End: