Importing cards with tags

50 views
Skip to first unread message

Oscar Lazo

unread,
Oct 18, 2014, 2:33:27 AM10/18/14
to mnemosyne-...@googlegroups.com
I have a huge database of german words classified according to different criteria. I would like to make cards with this words so that the different word categories became tags. I could do this using a python script. The problem is that the tab-separated format doesn't seem to support tags. What format should I use to specify cards with tags?

I examined the .card file which Mnemosyne exports and it seems to be a zip file with an XML file and a metadata file. I tried the simple excercise of unzipping and the zipping the .card file to see if Mnemosyne could import a .card I produced in this way, but the import failed.

Is there some way to specify the tags other than using the tab-separated format and manually typing the tags one by one?

Thank you,

Oscar Lazo

Peter Bienstman

unread,
Oct 18, 2014, 6:39:21 AM10/18/14
to mnemosyne-...@googlegroups.com
Hi,

If you were going to write a Python script anyway, you can also use libmnemosyne's API directly:

http://bazaar.launchpad.net/~peter-bienstman/mnemosyne-proj/trunk/view/head:/mnemosyne/mnemosyne/example_scripts/add_card.py

Cheers,

Peter
> --
> You received this message because you are subscribed to the Google Groups
> "mnemosyne-proj-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to mnemosyne-proj-u...@googlegroups.com.
> To post to this group, send email to mnemosyne-proj-
> us...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/mnemosyne-proj-users/5b460a98-
> 2b46-490f-b482-a90203b655ac%40googlegroups.com
> <https://groups.google.com/d/msgid/mnemosyne-proj-users/5b460a98-
> 2b46-490f-b482-
> a90203b655ac%40googlegroups.com?utm_medium=email&utm_source=foo
> ter> .
> For more options, visit https://groups.google.com/d/optout.


Oscar Lazo

unread,
Oct 18, 2014, 11:56:18 AM10/18/14
to mnemosyne-...@googlegroups.com


El sábado, 18 de octubre de 2014 05:39:21 UTC-5, Peter Bienstman escribió:
Hi,

If you were going to write a Python script anyway, you can also use libmnemosyne's API directly:

http://bazaar.launchpad.net/~peter-bienstman/mnemosyne-proj/trunk/view/head:/mnemosyne/mnemosyne/example_scripts/add_card.py

Cheers,

Peter

Thank you! That is just what I needed.

thank you!

Oscar Lazo 
Reply all
Reply to author
Forward
0 new messages