43 9
Sign in to rate

Japanese Example Sentences

8.76MB. Updated 2019-02-21.
The author has shared 1 other item(s).

Description

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: 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.

Download

As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.

To download this add-on, please copy and paste the following code into Anki 2.1:

2413435972

If you were linked to this page from the internet, please open Anki on your computer, go to the Tools menu and then Add-ons>Browse & Install to paste in the code.

All Anki 2.1.x Add-Ons

Reviews

on 1629177649
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.
on 1628252139
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!
on 1627123978
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. that you need to have for the app to do its work. In my case, I stick to the default naming, so I have a note type called "example_sentences" with the fields "ExampleEnglish" and "ExampleJapanese".
on 1622366896
Hi buddy... what should I do with "examples.utf"?
on 1618971157
Thank you, your tool is very good
on 1612811507
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.
1) In the "fields" of your note type, add the field "Examples" as described in the instructions, but also add the field "JapaneseExample".
2) Under "cards" of your note type, on the front template add "{{JapaneseExample}}. On the back template, add "{{Examples}}".
I had to view the files config.json and japanese_examples.py to be able to find out the exact way to name the fields. Please make this more user friendly and easily explained so anyone will be able to do this!
on 1611471557
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 :)
on 1607610549
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 people some time.
on 1606957775
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 expression field. The "\[" that i added will allow it to also ignore what's in the brackets. If your expression field has a different character like { you could just swap that in instead so "\{"
on 1601186773
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?
on 1600015688
It works charmingly! is it possible to change the kanji's COLOR from RED🟥 to any other🟩🟦🟨🟪?
on 1598051990
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.
on 1597824114
Doesnt seem to work on 2.1.22
on 1595492067
One of the best add-ons for advanced Japanese study I have found.
on 1594755672
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.
on 1588677516
Used to work. Updated Anki to 2.1.22 and sadly it doesn't seem to work on newer versions.
on 1585531040
Good. It would be better if it is well-documented and provides more options.
on 1585500353
Instructions unclear. I don't understand the following: "Aside from that, you need to make sure to have "example_sentences" (by default) in your model name", as it is unclear what is referred to here as "model name".
on 1584882998
fantastic addon. Very helpful!
on 1578815464
The way the plugin builds its dictionary can't be quite right.

Especially the line…
set(splitter(line)[1:-1])
… for no apparent reason removes the outer entries, which depending on the sentence can well be useful expressions. Short ones are killed this way altogether.
on 1569928737
Works on *some* sentences.
on 1569570444
Great! Love how it accentuates your Expression word in another color.
on 1568473466
Nice but pleace add a option to desactivate colouring of key expression
on 1566116794
Pretty nice
on 1565737214
This is gold. Few years ago had to do this manually.
on 1553608765
I don't know why "Bulk add examples" isn't working even if my cards has the "Examples" field
on 1551815375
It works great on Anki 2.1.
on 1548549380
Doesn't work with a basic setup, really would like to get this functional.

EDIT: Works on an older version of anki.
on 1547563798
Works most of the time. Sometimes pulls abnormal sentences (I used the word for pants once and it said, "Strip off all your clothes" or something strange to that effect). Sometimes the incorrect word gets pulled (Tried the word blue and it pulled a sentence talking about pink).
on 1544980271
Thank you. This is indispensable for Japanese Learning in context.
on 1542614597
This is amazing! Way more efficient than handpicking sentences and since it provides several one can always easily remove those that one does not like!
on 1533221159
gostei muito, pois era o que eu precisava
on 1528588800
Very useful when I want to know how to use a word in context. I really prefer studying words being used in context.
Previously I was searching for sentences manually in the internet, so it really saves some time for me!
on 1528416000
Thank you so much for this! Memorizing tons of vocabulary without reading any examples can be pretty much impossible
on 1519430400
Great add-on! Super effective, super lightweight and super easy to edit the outcome as well. I limit my examples to 2 and change the {checked} to {ok} which is shorter and less conscicuous. Wish I found it sooner, but since there's a batch-add feature it doesn't bother me *that* much! This is so perfect. Thank you so, so much :)
on 1515456000
This is amazing!! Add-ons like this one or Awesome TTS have the power to DRAMATICALLY improve the life of those who, like me, use Anki to study Japanese every day. I am only sad that I have been using Anki for about 4 years and just in the last year I have discovered the power of Add-ons :( As cool as this one is though, it seems that the author has forsaken it, so I really wish some programmer would change it so that we can separate English and Japanese at will. That would make it the ultimate Add-on to create sentences cards. I assume someone has already done it for his/her personal study, please dear programmer, share it with us :)
on 1484179200
How about going multilingual?

Great add-on. I use it permanently while studying Japanese.
But now I have decided that my English needs some brushing up, especially by expanding vocabulary.
Is there any chance that this add-on could be used for more than one language?
I suppose that finding a supply of suitable example sentences in English on the web would not be that difficult.
on 1438128000
Good but, a bit more flexibily would be useful

Perhaps you could update the script to give us the option to separate Japanese sentences from the translation, i.e., the option to place the J sentence in a certain field and the English Sentence in a certain field, well at least for me it'd be really useful.
on 1419465600
Extremely useful!

I started using this app today and I can see how it's gonna improve the quality of my flashcards a lot.
I was so close to starting to do it manually which woulda been a pain...
Anyhow, sometimes cards that i have will have multiple Kanji usages in the Expression field (i import from Imiwa). They are seperated by " , " (just the comma..). The Add-On can't find any examples for those obviously and I was wondering if maybe a method similar to the whole bracket or / would work there---
on 1387756800
Good application

Really good application which makes my life much easier. The only reason i give it 4 stars instead of 5 is because it needs a function that would make it much better. If you could insert the sentence and translated sentence into two seperate boxes/fields, you would be able to make ordinary sentece cards, just by inputting a word. That sir, would be awesome.