Japanese Pitch Accent
5.70MB. Updated 2022-03-26.
Description
Download
As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.
Supported Anki versions:
- 2.1.0-2.1.28 (Updated 2020-08-02)
- 2.1.29-2.1.49+ (Updated 2022-03-26)
To download this add-on, please copy and paste the following code into Anki 2.1:
148002038
If you were linked to this page from the internet, please open Anki on your computer, go to the Tools->Add-ons menu item, then click on Get Add-ons and paste in the code.
All Anki 2.1.x Add-Ons Contact Author
Reviews

Works great, this plugin is an essential part of how I use Anki to study Japanese.

.

It just works!

Seems great so far! However, I do wish it was a bit more automated. The plugin being able to automatically add pitch accent on it's own, after setting it up only once, would be great. Since right now, I still have to keep going through the menu to click "bulk add" every time I add cards to my sentence mining deck.
Comment from author
Thank you for the input.
I added some notes for potential future updates on GitHub accordingly:
https://github.com/IllDepence/anki_add_pitch_plugin/issues/37
I added some notes for potential future updates on GitHub accordingly:
https://github.com/IllDepence/anki_add_pitch_plugin/issues/37

Great add-on, thanks!

Love that we can customize it from the card styling without having to mess with the files.
Cool features would be: Being able to automatically generate to selected cards from browser (or from inside a card without having to research the pitch accent) and the ability to add multiple pitches in one field.
Edit: The author actually responded super quickly and posted a version with the per-card button functionality on github, if anyone else is interested, it's working perfectly on 2.1.49 for me <3
Cool features would be: Being able to automatically generate to selected cards from browser (or from inside a card without having to research the pitch accent) and the ability to add multiple pitches in one field.
Edit: The author actually responded super quickly and posted a version with the per-card button functionality on github, if anyone else is interested, it's working perfectly on 2.1.49 for me <3

Excellent! Thanks for this!

Amazing QOL

Definitely the best pitch accent generator i've tried

Simple, good UI and really helpful.

The addon I can't live without <3

great Addon

Best pitch accent add-on but I have a problem; whenever I add cards and want to bulk add pitch accents to newer cards, it does also re-add previously already added cards. I don't want it to mess with cards that had the pitch accents already added cards from this add-on; but only the new cards. Previous cards should be left alone or simply refreshed, but not creating doubles, triples quadruples of the same graph
Comment from author
Hi, glad you like the add-on.
Bulk add should add graphs incrementally without leading to duplicates.
As you’ve created an issue report on Github I replied there to investigate your problem case.
Bulk add should add graphs incrementally without leading to duplicates.
As you’ve created an issue report on Github I replied there to investigate your problem case.

cool

it works great. From what I can tell, there's no way to change the font color from the default black, so if anyone's looking for a way to make it readable in Night mode, consider just editing the attributes of the <div> where the Pitch Accent note is displayed in.
<div style='font-family: Arial; font-size: 20px; background-color: white'><br>{{pitch accent}}<br></div>
that should work to display the graph generated by the add-on inside a white element. It's not the most elegant solution but it works.
update: actually never mind, just saw that the elements are customizable through CSS. Feel free to ignore this
<div style='font-family: Arial; font-size: 20px; background-color: white'><br>{{pitch accent}}<br></div>
that should work to display the graph generated by the add-on inside a white element. It's not the most elegant solution but it works.
update: actually never mind, just saw that the elements are customizable through CSS. Feel free to ignore this

Excellent add-on! Definitely recommend this to everyone. Really wish I had known about this when I started learning.
If I may, i'd like to suggest a feature. Currently, you have to iterate through your subdecks indivdually. for exxample, let's say i have a master deck "Cooking", and "Cooking" has 2 subdecks "western food" & "eastern food". if you try bulk adding by selecting "Cooking", then you get a pop up saying "No Cards found". You have to do "Cooking:western food" and "Cooking:eastern food" individually.
thanks again for the super awesome addon!!
If I may, i'd like to suggest a feature. Currently, you have to iterate through your subdecks indivdually. for exxample, let's say i have a master deck "Cooking", and "Cooking" has 2 subdecks "western food" & "eastern food". if you try bulk adding by selecting "Cooking", then you get a pop up saying "No Cards found". You have to do "Cooking:western food" and "Cooking:eastern food" individually.
thanks again for the super awesome addon!!

This function is absolutely insanely useful. Can't believe I haven't had it for 4 months.
Thanks for making it
Thanks for making it

In principle great tool! However, the generated pitch&kana are not affected by the styling section of the card and the font-size/font cannot be adjusted otherwise to match the style of the customized card. Therefore, at least in Anki 2.1.49, the overall outcome can look pretty inconsistent.

Manual mode is throwing an error in Anki version 2.1.49. I didn't want to run the batch on the ~3700 cards from the All in One Kanji deck, so I tried adding a pitch manually. The error is thrown after pressing "OK" or "Cancel" on the pitch pattern input. "Cancel" also doesn't cancel the operation at either of the 2 steps.
Otherwise, batch mode worked great on a test deck.
Otherwise, batch mode worked great on a test deck.
Comment from author
Hi, thank you for your feedback. The problem you’re describing with manual mode should now be fixed.
(The plugin needs the field in which to insert/edit the pitch annotation to be selected. In previous Anki versions, the pitch button was automatically greyed out when no text field was selected. For some reason this is not the case any more. Now, if you click the pitch button without having a text field selected, a message is displayed accordingly.)
(The plugin needs the field in which to insert/edit the pitch annotation to be selected. In previous Anki versions, the pitch button was automatically greyed out when no text field was selected. For some reason this is not the case any more. Now, if you click the pitch button without having a text field selected, a message is displayed accordingly.)

Updated to the latest Anki and recently let go of Migaku's addons so lost the availability to add pitch to the card. Right after installing adding the extra bit at the top and generating the bulk edit using the images provided it worked. Having this along with Yomichan, MPV using animecards method and that cool android app. This is going to be epic! Thanks for making this!! It's so easy to use and even works with ankidroid! :D

Thank you for making this add-on!

super good

It's a useful add-on, but I would like, if I could change the size of the added accent. For me, these are too big right now and I don't know, how to make it smaller. Tried to change some things in HTML but failed.
Also, sometimes there are mistakes despite the right reading! e.g. 定規 can be read as ていき (unchangeable rule) or じょうぎ (ruler for measurement). In my case, I wanted to study the word for ruler, but it had the accent for unchangeable rule.
Also, sometimes there are mistakes despite the right reading! e.g. 定規 can be read as ていき (unchangeable rule) or じょうぎ (ruler for measurement). In my case, I wanted to study the word for ruler, but it had the accent for unchangeable rule.

nice extension

thank you!

It just works
追記 Ive use this plugin like 1000 times its so good
追記 Ive use this plugin like 1000 times its so good

So simple yet amazing. Thank you!

I'm speechless, this addon is amazing and beyond helpful. Thank you.

Good

this is 2 good

A word of warning for those who consider using this addon.
The algorithm itself is all good, but Wadoku's database is just cancer.. After noticing some discrepancy with other pitch accent dictionaries I looked through this database. It turned out I've already had a bunch of experience with it on another platform, so I have something to warn you about.
Pretty often Wadoku takes Heiban verbs for Odaka (i.e. 乗る, 失う, 広がる, 広げる, etc). It might not look like a big deal, but when it comes to conjugation the differences in these two patterns start to reveal itself. I consider this a serious issue.
Less often Wadoku messes up with nouns. For some words it has no pitch accent patterns at all.
This doesn't mean I do not recommend using this addon, I just want you to be somewhat sceptical about the pitches it generates. It's always good to have several sources of information.
In case the dev would consider switching to another database, I'll leave links to Kanjium dictionary and it's accents source file. This source data is better than Wadoku's in every way. It also isn't strictly copyrighted.
https://github.com/mifunetoshiro/kanjium
https://github.com/mifunetoshiro/kanjium/blob/master/data/source_files/raw/accents.txt
The algorithm itself is all good, but Wadoku's database is just cancer.. After noticing some discrepancy with other pitch accent dictionaries I looked through this database. It turned out I've already had a bunch of experience with it on another platform, so I have something to warn you about.
Pretty often Wadoku takes Heiban verbs for Odaka (i.e. 乗る, 失う, 広がる, 広げる, etc). It might not look like a big deal, but when it comes to conjugation the differences in these two patterns start to reveal itself. I consider this a serious issue.
Less often Wadoku messes up with nouns. For some words it has no pitch accent patterns at all.
This doesn't mean I do not recommend using this addon, I just want you to be somewhat sceptical about the pitches it generates. It's always good to have several sources of information.
In case the dev would consider switching to another database, I'll leave links to Kanjium dictionary and it's accents source file. This source data is better than Wadoku's in every way. It also isn't strictly copyrighted.
https://github.com/mifunetoshiro/kanjium
https://github.com/mifunetoshiro/kanjium/blob/master/data/source_files/raw/accents.txt
Comment from author
Hi, thanks for the feedback!
I've checked the verbs you mention in the NHK日本語発音アクセント辞典 which indeed lists them as heiban.
As for the alternative source of accent data you mention, the only problem I see is copyright. While Wadoku explicitly allows the free use of their data for non-commercial software (e.g. this add-on), the origin of the Kanjium accent data seems a bit fishy. To quote the repositories creator:
> [The source of the accent data is] not listed due to potential copyright issues, but it's from 2-3 legitimate sources. It is free, enjoy.
(https://github.com/mifunetoshiro/kanjium/issues/13)
I therefore see problems with directly “shipping” the add-on with their data, but I'll see if I can convert the accents.txt file to the format the add-on uses such that people can use it as their user_pitchdb.csv (see Tools→Pitch Accent→show custom DB path).
I've checked the verbs you mention in the NHK日本語発音アクセント辞典 which indeed lists them as heiban.
As for the alternative source of accent data you mention, the only problem I see is copyright. While Wadoku explicitly allows the free use of their data for non-commercial software (e.g. this add-on), the origin of the Kanjium accent data seems a bit fishy. To quote the repositories creator:
> [The source of the accent data is] not listed due to potential copyright issues, but it's from 2-3 legitimate sources. It is free, enjoy.
(https://github.com/mifunetoshiro/kanjium/issues/13)
I therefore see problems with directly “shipping” the add-on with their data, but I'll see if I can convert the accents.txt file to the format the add-on uses such that people can use it as their user_pitchdb.csv (see Tools→Pitch Accent→show custom DB path).

Really useful and simple add-on. Just two things:
At least in the current version that I am using, there is no way to cancel the procedure when you want to add words. When I use bulk add words and change my mind I can't cancel the operation. Clicking the 'X' just selects the field. Bit annoying but probably just a bug.
I was also wondering from where the addon gets its data. What database does it use?
Great add-on though!
Answer to comment:
Thanks a lot man! Really helpful.
At least in the current version that I am using, there is no way to cancel the procedure when you want to add words. When I use bulk add words and change my mind I can't cancel the operation. Clicking the 'X' just selects the field. Bit annoying but probably just a bug.
I was also wondering from where the addon gets its data. What database does it use?
Great add-on though!
Answer to comment:
Thanks a lot man! Really helpful.
Comment from author before post was edited
Hi, thanks for the feedback. I just added cancel buttons. :)
As for the database used, it's from a projekt called Wadoku (wadoku.de).
A bit more information in the GitHub repository: https://github.com/IllDepence/anki_add_pitch_plugin#notes
As for the database used, it's from a projekt called Wadoku (wadoku.de).
A bit more information in the GitHub repository: https://github.com/IllDepence/anki_add_pitch_plugin#notes

Thank you, it's awesome!

Works well

Amazing!

Really easy to use and add pitch accent to my cards. The only problem is that the bulk add option will add the pitch accent to a deck even if you click the x button on all tabs. I had to go back and bulk remove multiple times because of this.
Comment from author
Hi, thanks for the feedback. I just added cancel buttons to the dialogs and also changed the behavior such that tasks do abort when dialog windows are closed. :)

Does what it says on the tin. Gets confused sometimes, however, especially with words written with kana only e.g. なる. Nothing deal-breaking, as manually editing the graphs is dead easy, but I recommend cross-checking the info it gives you with audio from actual native speakers, though I guess that's a given anyway.

Love it, had to do some trial and error, but that's because tried to change its usage a little. Other than it's impeccable.

Messed up the proper pitch field but the remove feature saved my deck! a must-have addon for JP learners!

Followed the process as shown, but it just continually skipped through my 14K+ cards and says it can't find but more than a few hundred. Not sure why, as it's not like fields change between cards. Nice idea, but does not work consistently. Manual input might work, but it's not automatically generated. You have to enter all the info yourself.

Very lost on how to get this to work with night mode. Instructions seem unclear.

Nice and easy. It can't add pitch accent to sentence cards though, as far as i understand.

Very nice Add On, thank you

I love that this addon exists! Great job!

Super useful and easy to set up. Thank you so much !

This addon is fantastic!!! thank you very much for it!
I have only one problem with it: when I add it to some decks it shows normally, and other times it appears always in the first side of the card, regardless witch field I choose it to be in, does anyone knows how to solve it?
I have only one problem with it: when I add it to some decks it shows normally, and other times it appears always in the first side of the card, regardless witch field I choose it to be in, does anyone knows how to solve it?

This is amazing, however there's just like one major drawback. I was wondering whether the add-on would be able to ignore any (する) parts so that it could do the pitch accents for the words themselves, because I use this on desktop before transferring to mobile and can't edit it on the fly

This is such a seamless and needed addition to regular studying. Accents are a daunting task late into learning the language, but having a tool that naturally adds the awareness to pitch accent in addition to the sound bytes is so handy. Thank you.

Thank you! I couldn't get any other pitch accent add-on working, but yours worked flawlessly the first time. Didn't find any problems yet, will update if I encounter any. Thanks again.

Just excellent. I have even the possibility to do these manually. Thank you so much, it meant so much to me.

Thank you for making this.

Just want to say thank you for creating this, fantastic add-on.

Apparently it only worked for about half of my deck but when it does it's seemless and absolutely amazing.

Good stuff. Though, some of my vocabulary did not have a pitch pattern or had the wrong reading. I'm not sure if there is a fix for those issues.
Comment from author
Glad you like it! If you know or have a way to look up the pitch accent pattern for the correct reading, there now is a button to manually set the pattern for individual cards.

Very useful and convenient addon !

Fantastic! This is exactly what I needed.

Great, exactly what I was looking for. It works with "Japanese Support" too.

Exactly what I needed, works beautifully.

SO GOOD TIER, Worked perfectly for me. Could be improved a little by being able to detect formatted single word in a sentence, however cannot complain.

This is such a convenient, easy add-on, especially since it can be used retroactively on cards you've already created! I really hope more people find out about it.

Very simple to add on and great diagrams. I prefer this add-on over the "Japanese Pronunciation / Pitch Accent" as the accent information is much more easily digestible on the fly.

Amazing! Just what I needed!

will be a great support add-on together with AwesomeTTS.
Waiting for an upgrade which cover Pitch accent of a whole sentence/ phrase.
Waiting for an upgrade which cover Pitch accent of a whole sentence/ phrase.

UPDATE: This issue has been fixed, so I have no problems at all with this add-on now! Thanks so much for addressing this. Highly recommended.
Original review: It's a really nice concept, but too unwieldy as it is. It assumes that the pitch accent info field will be in the same place in every single card in a deck, which is not the case in mine. I'd suggest allowing it to add pitch accent based on note type as well, or on an individual card basis.
Original review: It's a really nice concept, but too unwieldy as it is. It assumes that the pitch accent info field will be in the same place in every single card in a deck, which is not the case in mine. I'd suggest allowing it to add pitch accent based on note type as well, or on an individual card basis.

Really useful and has a lot of potential.
But still needs some work before it can be used easily without issues.
But still needs some work before it can be used easily without issues.

Very useful!