On Sat, May 29, 2010 at 5:09 PM, tcp-ip <[email protected]> wrote:
> Three years ago I heard about spaced repetition and I began to use
> flashcards to study languages. I wrote a little program with a simple
> scheduling algorithm and a command-line interface. Now I want to start
> to use Mnemosyne but, of course, I want to save the 3000 cards I
> already have.
> My cards are a pickled list of python objects with five properties:
> three (unicode) strings with the question, the answer and the category
> two integers with the number of times I was shown the card and the
> number of times I recognized them.
>
> The documentation says that Mnemosyne can import from a plain text tab-
> separated list and it should be easy for me to write a script that
> creates it from the pickled file. But I have two problems:
> 1-How can I insert the category field in the plain text file?
> 2-How can I insert some some information about the grade? I had
> thought something like
> initial grade=0 for cards I've never recognized, initial grade=1 for
> cards I recognized at least once, initial grade=3 for cards I
> recognized more than half of the times.
>
> In case these informations can't be inserted with an import from a
> plain text file, can you suggest me some other way.
>
> Thanks for your help.

The simple text format is just that, simple. If you want to specify
the category and grade, that isn't too hard: you need to use the XML
format. It's not too hard to work with, I've looked at it. You could
probably quickly unpickle the 5 fields into <card>s or whatevers and
then copy the surrounding XML gunk to make a big XML file you can just
import.

-- 
gwern

-- 
You received this message because you are subscribed to the Google Groups 
"mnemosyne-proj-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/mnemosyne-proj-users?hl=en.

Reply via email to