This program is an Anki add-on that allows the user to use the native text-to-speech functionality of Windows to speak highlighted words. When the user highlights a word, a “Speak” option is added to the context menu that appears when the user right-clicks on the highlighted word. When the user selects the “Speak” option, the highlighted word is passed to the win32com.client library which uses the Microsoft Speech API (SAPI) to perform text-to-speech on the word.
The add-on is written in Python and uses the anki.hooks library to listen for the event of a word being highlighted and the win32com.client library to interact with SAPI on Windows. This add-on is compatible with Windows.
Reviews (1)
👍 2023-01-20
pretty good idea
It would be better if it supports keyboard shortcuts