Skip to content

Generated a table to be imported in an anki app, using data from google translate export.

Notifications You must be signed in to change notification settings

nori266/anki-cards-generation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data format

To export translations from Google Translate, the translations should be saved (click the star icon to save the translation). Then, go to saved translations and click the "Export to Google Sheets" button. Add necessary column names, and then export the spreadsheet as a CSV file.

Input file should be a csv file with the following columns:

  • from_lang # source language
  • to_lang # target language
  • text # the text in the source language
  • translation # the translation of the text in the target language

Example:

Finnish,English,Hei,Hi
Finnish,English,lisää,more

Output file will be an excel file with the following columns:

  • text # the text in the source language
  • translation # the translation of the text in the target language

Running example:

```
python main.py -f data_examples/google_translate_export.csv -o data_examples/converted_anki_translations.xlsx
```

About

Generated a table to be imported in an anki app, using data from google translate export.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages