Ajatt-Tools / anki.koplugin

KOReader plugin enabling Anki card generations for words looked up in the internal dictionary.
49 stars 6 forks source link

[Feature Request] Support for Rikaitan-style pitch accent graphs #23

Closed konomu closed 4 months ago

konomu commented 4 months ago

Rikaitan allows the creation of SVG pitch accent graphs when adding notes to Anki. It's described in this .js: https://github.com/Ajatt-Tools/rikaitan/blob/24.4.29.0/ext/js/display/pronunciation-generator.js

image

I think these look better than the pitch accent graphs that the existing extension generates so I'd like to see this get implemented. It would also be ideal to implement an new output to a "Reading" field for the 'note' parameter so the new pitch accent graph can be displayed along side the reading of the word in hiragana.

image

tatsumoto-ren commented 4 months ago

Shouldn't this be requested in AJT Japanese instead the koreader plugin? For example when you make a card with goldendict or any other tool, you might still want to have the same style.

konomu commented 4 months ago

Personally, I stopped using the Japanese addon when I started using Yomichan. But you're right, I guess it would be better to implement it there instead of into this plugin.

tatsumoto-ren commented 3 weeks ago

Pitch accent graphs were added to AJT Japanese https://freesoftwareextremist.com/notice/AiaUHnDSblBKaDAZGK

They don't look the same as pitch accent graphs in Rikaitan, but they are way better.