Plugins

A Python plugin

Automatic creation of picturequestions from pictures in a directory

Type: 
Plugin
Compatibility: 
Mnemosyne 1.x +
Status: 
Testing
Author: 
Dirk Stoetzel
Source: 

inspired by the idea from dandelo under scripts
http://www.mnemosyne-proj.org/content/autokey-scripts-speed-creation-cloze-and-image-flashcards-linux

Description: 

inspired by the idea from dandelo under scripts
http://www.mnemosyne-proj.org/content/autokey-scripts-speed-creation-cloze-and-image-flashcards-linux

i have implement this simple plugin with (i think so) similar functionality

After copying the file to the plugin dir you should see a new import filter "Generate from Picturename"
#
Example:suppose you have pictures for a category you would like to add. You should create a directory and put all pictures in it. Then start the import plugin an select a file ; select a category and then start the import.
#
After that you should have all pictures as Question in mnemosyne and the generated answer is the filename without the extension.
if you add later pictures to that directory an import again in the same category only the new ones are added because mnemosyne prevents duplicates.
That is my way for adding many picturequestions with a few clicks. hope someone find this is useful :-)

Tested only with linux, but i think the only part to change for Windows ist the Backslash in the pyhtoncodeline that I have marked in the script with a comment

Gogostyle

Type: 
Plugin
Compatibility: 
Mnemosyne 1.x +
Status: 
Complete
Author: 
Timothy Bourke
Source: 

Custom code. Hereby released under a BSD license.

Description: 

Change the font, size, or colour of specific characters in Mnemododo (an Android client for Mnemosyne).

For example, make Thai characters larger, or change the colour of Chinese text to blue, or use a different font for Korean characters.

In fact, the plugin applies regular expression substitutions during exports from Mnemogogo, so it can likely also solve other display issues.

To use:

  1. Unzip the attached file and save the gogostyle.py file into your plugins directory.
  2. Add a file called STYLE.CSS to the folder exported by Mnemogogo (on your mobile phone). This file should contain CSS styles for the SPAN tags added by the plugin. For example:

    span.thai { font-size: 500%; }
    span.cjk { color: blue; }
    span.hangul { font-family: "Cyberbit" }

The plugin has built-in regular expressions for:

  • Arabic (class="arabic")
  • Chinese (class="cjk")
  • Greek (class="greekandcoptic")
  • Hebrew (class="hebrew")
  • Japanese (class="hirigana", class="katakana")
  • Korean (class="hangul")
  • Thai (class="thai")

Please email me if you need something else, or edit your Mnemosyne config.py file according to the instructions inside the plugin file.

Google text-to-speech

Type: 
Plugin
Compatibility: 
Mnemosyne 1.2.2 +
Status: 
Complete
Author: 
Peter Bienstman
Source: 

Port of the Anki plugin by Arthur Helfstein Fragoso

Description: 

Google text-to-speech plugin

Copy google_tts.py and subprocess.py to your .mnemosyne/plugins directory. Pressing F3 will read out the question, F4 will read out the answer. The language is by default set to English, but can be changed by editing google_tts.py.

This plugin requires that you install mplayer on your system. Under windows, it should go into C:\Program Files\mplayer\mplayer.exe

Gogorender

Type: 
Plugin
Compatibility: 
Mnemosyne 1.2.2 +
Status: 
Testing
Author: 
Timothy Bourke
Source: 

Original code. Released under a BSD license.

Description: 

Plugin for rendering segments of text as image files.

The main reason for this plugin is to work around the limitations of
displaying fonts under J2ME on certain mobile phones. Characters can instead
be rendered on a PC where more fonts and libraries are available.

NB: On phones where security prompts cannot be disabled, each image will
generate a confirmation prompt. This can quickly become annoying.

Basic use: save the plugin file into the Mnemosyne plugins directory
($HOME/.mnemosyne/plugins) and start Mnemosyne. In the next Mnemogogo
export, all words that contain non-latin characters should be exported as
image files.

For bigger renderings: add the following line to the $HOME/.mnemosyne/config.py file:

gogorender = { 'size' : 24 }

Open the plugin file in a text editor to see more options.

Changes

  • 20100111, version 1.0.0, first release
  • 20100119, version 1.0.1, remove unnecessary import of PIL
  • 20100306, version 1.0.2, add render_match feature.
  • 20100329, version 1.0.3, better handling for invalid html.
  • 20101204, version 1.0.4, fix exception on missing font size.
  • 20110322, version 1.1.0, add list_split function to split text into characters.
  • 20110429, version 1.2.0, add support for transparent backgrounds.

Display Number of Forgotten Cards in Status Bar

Type: 
Plugin
Compatibility: 
Mnemosyne 1.x +
Status: 
Complete
Author: 
David A. Harding <dave@dtrt.org>
Source: 

Based on the following plugin:

http://mnemosyne-proj.org/node/177

Description: 

This plugin displays in the status bar the number of cards you've forgotten. The number of forgotten cards is the number of cards "not memorized" minus the number of cards you haven't seen yet.

I use the number of forgotten cards in conjunction with the number of scheduled review cards, trying to get both numbers to zero every day so that I don't knowingly forget any cards.

Mnemogogo: Making Mnemosyne Mobile

Type: 
Plugin
Compatibility: 
Mnemosyne 1.2.2 +
Status: 
Complete
Author: 
Timothy Bourke
Source: 

Original code, with core scheduling elements adapted from Peter Bienstman's Mnemosyne 1.x

Description: 

Mnemogogo is a plugin for Mnemosyne 1.x (not 2.x) for exporting and importing cards to and from a mobile device. It does not perform full synchronization, but rather transfers only those cards to be reviewed in the next few days.

Mnemojojo is a J2ME (Mobile Java) application for reviewing and grading Mnemosyne cards on mobile devices. It will run on many mobile phones. It supports basic html markup, graphics, and sound. It does not support editing cards.

Mnemododo is an Android application for reviewing and grading Mnemosyne cards on Android phones. It supports html markup, graphics, and sound. It does not support editing cards. It is available in the Android Market for a small price. There is also a free demo version: Mnemododo-USA States for testing and evaluation. It is available for download here or on the Android market.

Instructions for installing and using these programs can be found at this website.

Mnemogogo Changes

  • 20100129, version 1.0.0, production release.
  • 20100220, version 1.1.0, various bug fixes, support multiple .mem files.
  • 20100220, version 1.1.1, fix an export bug for cards with sounds.
  • 20100222, version 1.1.2, fix the htmlentitydefs not found bug under Python >= 3.0.
  • 20100322, version 1.1.3, better handling of missing images.
  • 20100410, version 1.1.4, support for sound.
  • 20100427, version 1.1.5, fix crash on missing sound file.
  • 20100429, version 1.1.6, fix syntax error (core.py, 306).
  • 20100506, version 1.1.7, fix display of tables in Mnemododo.
  • 20100531, version 1.1.8, handle spaces in image and sound filenames.
  • 20100608, version 1.2.0, sort category names on export.
  • 20100609, version 1.2.1, better handling of strange item ids.
  • 20100721, version 1.2.2, better handling of unicode characters in database filepaths.
  • 20100725, version 1.2.3, try to recover from a TypeError on incorrect installation.
  • 20101024, version 1.2.4, fix bug in handling width and height tags in images.
  • 20101203, version 1.2.5, fix a bug in sound exporting.
  • 20110707, version 1.2.6, fix rarely occurring bugs in image handling.

Mnemojojo Changes

  • 20100129, version 1.0.0, production release.
  • 20100220, version 1.1.0, various bug fixes and minor improvements.
  • 20100410, version 1.2.0, support for 'learn ahead' and sound.
  • 20100711, version 1.2.1, option to disable automatic sound playing.

Important upgrade note: before upgrading to Mnemogogo 1.2.2, please import from all databases.

Abbreviated Card Statistics in Status Bar

Type: 
Plugin
Compatibility: 
Mnemosyne 1.x +
Status: 
Complete
Author: 
Bill Price
Source: 

Based on Timothy's plugin available here:

http://mnemosyne-proj.org/node/172

Description: 

This plugin abbreviates the text in Timothy's "Card Statistics in Status Bar" plugin in order to prevent the Mnemosyne window from needing to stretch out horizontally to fit all of the text into the status bar.

For example, here is a pair of hypothetical outputs by the two plugins.

Timothy's version:
Last Grade: 3 Easiness: 2.4 Repetitions: 9 Lapses: 1 Days since last repetition: 0 Days until next repetition: 0 / 6 / 6 / 6 / 6

My version:
G: 3 E: 2.4 R: 9 L: 1 LR: 0 NR: 0/6/6/6/6

Alternative Keys for Grading

Type: 
Plugin
Compatibility: 
Mnemosyne 1.x +
Status: 
Complete
Author: 
Timothy Bourke
Source: 

Original code.

Description: 

Makes the backtick (`) a shortcut for the Grade 0 button.

On many keyboards the backtick is to the left of the 1 key. This plugin thus makes it possible to review new cards easily with two fingers of one hand.

If necessary the plugin can be changed in a text editor to select a more appropriate key.

The plugin also helps with laptops where normal keys double as a numeric keypad (e.g. m/0, j/1, k/2, l/3, u/4, i/5). Those keys can be used to grade cards without having to use NumLk.

Future Schedules in Status Bar

Type: 
Plugin
Compatibility: 
Mnemosyne 1.x +
Status: 
Complete
Author: 
Timothy Bourke
Source: 

Original code.

Description: 

Display the number of future scheduled cards in the status bar.

e.g. displays at bottom right:
Wed: 103 Thu: 132 Fri: 86

This information is useful for balancing the learning of new cards on one day with the new work that entails for the next and subsequent days.

Card Statistics in Status Bar

Type: 
Plugin
Compatibility: 
Mnemosyne 1.x +
Status: 
Complete
Author: 
Timothy Bourke
Source: 

Based on a patch by Adam Raizen, with one or two improvements.

Description: 

Displays the statistics of the current card in the status bar.

e.g. displays for the current card at bottom left:
Last Grade, Easiness, Repetitions, Lapses, Days since last repetition, Days until next repetition

The Days until next repetition field shows potential values for grades 1-5.

This plugin can be useful for understanding how the spaced-repetition algorithm works and debugging extensions to Mnemosyne. Its value for ordinary users is, however, disputable. In many ways it is better to trust the algorithm and implementation, particularly when choosing how to grade cards. In fact, the display of potential future intervals can be disabled for this reason.

Syndicate content