Command tool to support deck creation for learning application anki.
cd /path/to/this/package
pip install .-
Pattern A
When using a audio file that contain long talks
ankihelper audio to-script /path/to/audio ankihelper text fix-whisper-result /tmp/script.json ankihelper table from-audio-vtt-pair /path/to/audio /tmp/new-script.vtt ankihelper table add-trans /tmp/table.csv ankihelper deck from-table /tmp/table-with-trans.csv
-
Pattern B
When using unit-by-unit audio data such as some learning materials for english.
ankihelper audio to-script /path/to/audio_dir/*.mp3 ankihelper table from-audio-vtt-pairs /path/to/audio_dir /tmp/script ankihelper table add-trans /tmp/table.csv ankihelper deck from-table /tmp/table-with-trans --output_filepath /tmp/YOUR.apkg
-
Pattern A
From a csv file that have columns "en" and "jp"
# create and add an audio columm ankihelper table add-audio /path/to/csvfile # create deck (output path: /tmp/table.apkg) ankihelper deck from-table /tmp/table-with-audio.csv
-
Pattern B
From a csv file that have a column "en"
ankihelper table add-trans /path/to/csvfile ankihelper table add-audio /path/to/table-with-trans ankihelper deck from-table /tmp/table-with-audio.csv
T.B.D