Skip to content

fugashy/ankihelper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ankihelper

Command tool to support deck creation for learning application anki.

How to install

cd /path/to/this/package
pip install .

How to use

Create a deck from a voice data

  • 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

Create a deck from a table

  • 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

Create a deck from your English diary

T.B.D

About

Command tool to support deck creation for learning application anki.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages