Current Version: r15 (20-02-2019) Do not load examples if maxShow == 0
Support for Anki 2.1 (support for Anki 2.0 is discontinued).
Description: This addon makes a few changes to the original plugin, the most important one of course being compatibility with Anki 2. Other changes are:
Prefers checked sentences (~) over non-checked sentences. Will add “{CHECKED}” add the end of the translation for those sentences. Please note that there aren’t that many checked sentences available.
Prefers shorter sentences over longer ones.
Offers a bulk-add option to permanently write examples to the destination field. Writes 5 sentences by default. Especially useful for mobile users. To use this option, go to “Browse -> Edit -> Bulk-add Examples”
Automatically adds examples when adding cards. This feature can be disabled in the configuration.
If no example sentences are found based on the Expression field, it will use part of the expression up to //, and then it will try to remove braces, and search on that. E.g. “チラシ/ぶら” will result in looking for “チラシ”, and “静か(な)” will result in looking for “静かな”.
Feel free to download a newer version of the example sentences database. I got the current version on 2012-12-25, from http://www.csse.monash.edu.au/~jwb/examples.utf.gz .
How to use/install: By default, make sure you have a field called “Expression”, and a field called “Examples” (this is the field the add-on will fill with its data; you can change these in the add-on configuration). You can add fields by going to Add->Fields. Don’t forget to actually make this field show up on your cards by adding it to your card template (i.e. something like “{{Examples}}” on the back template)
You can also set the field names in the configuration for only the Japanese or only the English parts of the example sentences.
Aside from that, you need to make sure to have “example_sentences” (by default) in your model name. You can change the note type name in configuration of the add-on. To rename your note type, go to Add -> Click on “your_current_note_name” -> Manage -> Rename.
If you run into trouble, or just can’t figure out where all these options are, send me an email. I’m more than happy to help!
Contact Info: For the online git repository, see https://github.com/javdejong/japanese-examples .
Apparently there’s not much of a conversation possible using the comment section here, so you are free to send any complaints/feature requests using github, or send an email to javdejong@gmail.com. Pull requests or patches can also be sent via github.
Liên kết hỗ trợ
Reviews (29)
👍 2025-10-20
Very handy, but hoping to locate a copy of an updated japanese_senteces.utf file. The link is broken at this time, if anybody could point us to it, it would be much appreciated!
👍 2025-04-08
几经周折,自己改了部分代码,还算很好用的。
👍 2025-01-28
I followed 7 steps and it work However, I think the link for the updated examples utf file is broken though so can’t do step 5
👍 2025-01-13
1/ so helped me but to be honest i could not install it but i saw one of the guy explained it in the comment then i could..here is a point to enhance the usage steps in the description.
2/ can you tell me which API you retrieve the data from??
3/ can you make us to change the highlighted color on the target word inside the retrieved sentences because it is red by default and i dont like it i want to change it to another color, red is giving hazard attention impression lead to increase stress.
👍 2024-09-02
Worked
👍 2024-08-12
It works in the latest version as of this wring (24.04.1). The user guide is unclear for newbie, so I’ll note what I had to do. 1 - Find your deck’s note type name and field name for Japanese words (go to Browse > select your deck > toggle Cards/Notes > see “Note Type” column and field name on the right panel - usually Expression). 2 - Add 3 fields “Examples” “ExampleJapanese” “ExampleEnglish” (in the same window > click Fields… > Add > insert field name > answer Yes if Anki asks you to co
👍 2024-05-17
Just perfect!
👍 2023-11-21
Works like a charm. Awesome
👍 2023-08-16
Nice! Work like a charm
👍 2023-02-22
Works exactly as advertised. Personally, I played with the config file, so it would fit the names of the fields I’d already had. Took me maybe 5 mins.
👍 2023-01-06
I’m using the latest version of Anki. just need to make sure the note type, source field - “Expression”, and destination fields - “ExampleJapanese”, “ExampleEnglish”, and combination of both, are all there.
👍 2022-12-04
Have been using it since forever, still working perfectly on 2.1.49
A feature to change the formatting from the config would be nice, a little more documentation on the “magic number” part of the code or how to update the example sentences files.
👍 2022-10-20
Still works very well (v2.1.46)
👍 2022-09-07
Followed what instructions there are. Added the fields. Check the config. It. Doesn’t. Work. Please provide complete instructions, because there are a lot of people who can’t use this.
👍 2021-08-17
Very good. Sadly it is designed only for vocabs, so you can’t use it to find uses of specific kanjis, but incredibly useful for vocabs.
I just recommend adding how to do the “bulk add” to the documentation as it took me a while to find it, since this is the first plugin I’ve tried.
👍 2021-08-06
It’s missing some words, but overall the add on works well. It turned making a 2000-card deck from a thing that would have taken more than a week to something that I binged in a day!
👍 2021-07-24
Works great!
In my case, out of ~3,000 cards, there are about 200 words for which sentences cannot be found. However, there seem to be sentences in Tatoeba.org for those words. Is there are a way to update the file containing the sentences?
Either way, thank you for this amazing add-on. You have saved me a week of manually making cards.
—> For everyone who is unable to make this app work: just check Addons > the app > Config on Anki, and check the variables of note type, fields, etc. t
👍 2021-05-30
Hi buddy… what should I do with “examples.utf”?
👍 2021-04-21
Thank you, your tool is very good
👍 2021-02-08
I really, really want this to work, but I can’t figure out the only Japanese thing.
I don’t want the English translation of example sentences until AFTER I flip the card. How can I do that?
Edit: I’ve finally figured it out.
-
In the “fields” of your note type, add the field “Examples” as described in the instructions, but also add the field “JapaneseExample”.
-
Under “cards” of your note type, on the front template add “{{JapaneseExample}}. On the back template, add “{{Examples}}”.
👍 2021-01-24
This is the best add-on for Japanese Learning!!!
Before I found this, I was basically adding examples to my cards manually (from https://ejje.weblio.jp/)
You really saved me a lot of time :)
👍 2020-12-10
This was a struggle to get working but I’m very happy with it now that it’s done. For anyone stuck on the “model name must have ‘example_sentences’” part, edit the config.json under \AppData\Roaming\Anki\addons<whatever the folder is for this one>\ and change the “noteTypes:” section to whatever you want it to use instead.
I haven’t managed to get it to automatically add sentences on creation, but doing a bulk update every now and then is not a real hassle. Hope that helps save some other p
👍 2020-12-03
Here’s how I got it to work with yomichan if your expression field has brackets for example: “車[くるま]”.
You need to go to the addons menu -> view files -> then edit the japanese_examples.py using a text editor (I use vscode).
After you open the file navigate to this line of text for me it was on line 156
“match = re.search(u”(.*?)[//]”, expression)”
you want to replace it with
“match = re.search(u”(.*?)[//[]”, expression)”
If you have something other than brackets in your expres
👍 2020-09-27
OK, so I guess I’ll be the 3rd person to ask “what does “example_sentences” (by default) in your model name” mean???
Can someone who’s actually done this step explain this part?
👍 2020-09-13
It works charmingly! is it possible to change the kanji’s COLOR from RED🟥 to any other🟩🟦🟨🟪?
👍 2020-08-21
Doesn’t work for me. Installed it, have fields Expression and Examples but when I click bulk-add examples, nothing happens. I’m not sure what he means with adding “example_sentences” in the model name, but I did try adding that to the name of the Note Type, and not much happened either. I’m using version 2.1.26.
👍 2020-08-19
Doesnt seem to work on 2.1.22
👍 2020-07-23
One of the best add-ons for advanced Japanese study I have found.
👍 2020-07-14
This is a great add on that is still working perfectly fine in anki 2.1. For those complaining that it is not need to properly read the description on how to install. Furthermore the creator was kind enough to give their email in the case that anyone has question.This tells me the people who are rating it negatively lack critical reading comprehension skills.