Skip to content

nova77/anki_japanese

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

A simple tool to create Anki cards from csv files to help me learn japanese.

Installation

You wanna run the code inside a venv.

pip install --upgrade "pip>=19.3"
pip install -r requirements.txt

Usage examples

# by default it will look into the "cards" directory for csv files 
# and output to "decks":
python main.py

# you can specify the cards & output directory with their 
# corresponding flag:
python main.py --cards_dir /my/csv/files --output_dir  /tmp/mycards

Once created you can import the cards in your favourite anki viewer.

CSV format

The csv is formatted - with no header - as

<front>,<back (primary)>,<back (secondary)>

eg

big,ōkī,ōkī akai ringo -> Big red apple
quiet,shizuka,
am,ごぜん,gozen

The secondary entry for the back is optional and will be displayed below the primary and in parenthesis.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages