Based on 5 ratings:
Sign in to rate
< Back

Sentence Shuffle & Gloss (Japanese)

<10kB. Updated 2016-06-13.

Description

Provided you have a Gloss field, this plugin will use your Expression field and poll WWWJDIC to create a list of words and definitions—in a scrambled order from the original ordering of the words. In other words, if その comes before 車 in the sentence, the resulting glossary will likely have the order reversed. tl;dr:
The primary rationale for my modifying and uploading this addon is for the technique for practicing "comprehensible output" (o+1) with sentences in Anki described here, here, and here. Producing sentences is harder than recognizing them, but not if you make sure the sentences are o+1 as described below, so that you're doing only the most useful and minimal work. Simply put, an o+1 sentence card features the scrambled gloss and sentence translation on the Front, and the sentence and audio on the Back. The sentence itself should be unfamiliar, but composed entirely of well-learned words. That is, a sentence you've never learned before but it only consists of words you have learned. Most of the sentences in this add-on description probably meet that criteria. ^_^ In this way, you don't have to produce the words, there's no burden there; you simply practice your ability to take words you know and arrange them to a make a meaning that you want to communicate, in this case the sentence meanings you're given. Alternatively you can use unknown words--after all, you have the definitions on the front and the translation of the sentence. But this might be best for shorter expressions. This would obviate the need for Morph Man tracking of known items, or the batch-based learning in my ja-pico method, however. You can use the Morph Man 3 add-on to determine whether a sentence is "m+0" (zero words that are not well-known). Thus, the o+1 sentence is i+0: zero unknown words in the input, instead of input+1, where there is an unknown word, but the sentence is o+1 (output + an unknown element) in that it's production (o) and unfamiliar as a whole (+1). You can also use this add-on for video/audio comprehension cards: audio/video of expression on the front with shuffled gloss, meaning on the back.
This plugin is identical to the Sentence Gloss plugin written by overture2112 for Anki 1.0, which was ported to Anki 2.0 by Kenishi, except for a very slight modification to import the "random" module and use it with the "shuffle" method at line 26. Thanks to cb4960 for pointing out the necessary code and where to put it. You'll need to tweak field and menu settings if you want to use this alongside the original Sentence Gloss plugin. Just rename things so nothing gets overwritten or confused. Update 02/16: Added new WWWJDIC URL with proper extension. Update 05/16: Added an extra line break in the list of definitions to make them easier to read. If you want bullet points, just replace the re.findall bit in line 25 of the add-on's .py with this. If you do that, you may want to remove one of the <br/>'s in line 27 to reduce the spacing between lines.

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 the desktop program:

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

Reviews
Ask a Question

Write a Review

Small Edit
Posted on 2015-12-24

In Aug 2015, WWWJDIC changed their site URL. To get this plugin working again, edit line 18 in the plugin code to

def url( term ): return 'http://nihongo.monash.edu/cgi-bin/wwwjdic?9ZIH%s' % urllib.quote( term.encode('utf-8') )