jcsirot / anki-simple-furigana

Anki add-on providing support for adding or removing furigana on Japanese text
GNU General Public License v3.0
11 stars 5 forks source link

Text to speech reads the word twice (kanji and furigana) #7

Open bitbonk opened 4 years ago

bitbonk commented 4 years ago

My cards uses the built-in TTS thing to read the Kanjis to me. Now with this plugin, the it reads the same word twice to me (furigana and kanji itself).

Is there any way I can have Anki read the kanj to me and still have the furiganas displayed?

Bildschirmfoto 2020-09-21 um 23 01 51

bitbonk commented 4 years ago

I also made a simple HTML/JS only JSFiddle: https://jsfiddle.net/bitbonk/nguxvr41/ to reproduce the problem. The documentation for tts can be found here: https://docs.ankiweb.net/#/templates/fields?id=text-to-speech

olslash commented 3 years ago

see https://github.com/AwesomeTTS/awesometts-anki-addon/issues/9 for some background and a workaround with awesomeTTS

russenoire commented 2 years ago

figured out a workaround of sorts.

  1. alter an on-the-fly tag in a card template like so: {{tts ja_JP:kana:Sentence_Examples}}.
  2. i'd coded most of my furigana with tags before installing the japanese support add-on, and got the awesometts plugin to solely read the furigana by using brackets like this within the ruby notation on every card that required it: <ruby>暗田[<rt>くらた</rt>]</ruby>

this was driving me nuts as well; hope this is of help to others.