Skip to content

Enhancement of mkofdwu/pleco_to_anki: Now includes automatic audio generation for Anki flashcards.

Notifications You must be signed in to change notification settings

aurcode/pleco_to_anki

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pleco_to_anki

A simple script to format pleco flashcard exports and convert it into an anki package

Usage

You have to use python to run this script. Install the requirements with pip install -r requirements.txt

Export the flashcards you want from pleco (menu > import/export > export cards). Set the format to text file and character set to simplified, and check 'card definitions' and 'dictionary definitions'. Transfer the exported file to your computer

Then, in this directory run python3 ./pleco_to_anki <path_to_pleco_file> <deck_name>. A .apkg file should be generated in the out/ directory and you can install it by opening anki and going to File > Import > select the file

If you add new flashcards and want to update the anki deck, simply run the same command. This time, the deck will only contain new cards, and you can import them in the same way.

Problems

This software was made hastily for personal use, so there are quite a few bugs, primarily definition parsing issues

About

Enhancement of mkofdwu/pleco_to_anki: Now includes automatic audio generation for Anki flashcards.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 82.9%
  • HTML 9.4%
  • CSS 7.7%