This is some crappy Ruby code I wrote to parse PDFs from Glossika and turn them into Anki decks for personal use.
It generates two decks:
These are straight from the PDF in the order they appear.
This is a bit of a mouthful: this deck has all the traditional chinese characters in order by frequency of appearance in Chinese texts on the front, and it has the simplest (as determined by a crappy scoring function) Chinese sentence in the corpus of Glossika sentences containing that character on the back.
See my other repo for the source data for this: https://github.com/dseevr/anki-decks-for-the-most-common-chinese-characters
Because I've discovered that learning characters/words/tones/meanings without context is impossible and SRS is wonderful for helping you remember things. Glossika's product is great on its own, but I want to learn to read Chinese and it's not designed to teach that.
Because TAIWAN NUMBAH ONE!!!
It could support other PDF types, but you'd need to modify a ton of code. You'd honestly be better off using this project as a guide and writing your own from scratch.
BSD