How do you automatically generate color coded pitch accents (Anki)

I'm following this guide: https://tatsumoto.neocities.org/blog/anki-japanese-support#color-coding

https://preview.redd.it/pcymw2fxsoqe1.jpg?width=1200&format=pjpg&auto=webp&s=9757fec17674b7cceb617f376c445d373165a329

The video I've posted here is from the guide and is almost exactly what I am looking to achieve – color-coded text that is shown on-hover with pitch accents. (It'd be even better if it didn't show furigana except on-hover but that's another topic)

Anyway, the problem is that the guide says

This feature is experimental and disabled by default, but you can enable it by setting the "color code pitch" option to "color" or "underline". Additionally, if the "attributes" option is turned on, you'll see detailed pitch accent information when hovering over words with your mouse.

And that option no longer exists in the latest version of the AJT Japanese plugin

https://preview.redd.it/1hd79qtftoqe1.png?width=892&format=png&auto=webp&s=c90b7c5ba91a2cc4785aa69523d37cf283e3d00f

I've tried changing the settings in Furigana and Pitch Accent hoping that the feature was later integrated someplace else. Nothing is working.

If someone has this setup working on their end, it'd be really helpful if you can send an example card so I can see how this ends up as data. And if you have a reference / tutorial that you learned it from that'd be helpful too.

Last note: I did try out the alternative Japanese Readings and Pitch Accent plugin because it looked promising but it failed to parse the few test sentences I gave it so I'm not super convinced that it is viable.

by __nostromo__

Leave a Reply