aalmacin / Language-Translator

Use to translate text and create audio and Anki files. Source is a csv file and output is a tsv file for Anki.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Google Translate Experiment

To start running, run the command below. Make sure to replace the path

export GOOGLE_APPLICATION_CREDENTIALS=/path-to-credentials-file

./gradlew exec

Deployment Manager

Audios bucket was created by running

gcloud deployment-manager deployments create --config=./storage.yml language-translator

Example Commands

Normal

./gradlew exec --args="Health.tsv Health-result.tsv en"

Cloze

./gradlew exec --args="a.tsv a-out.tsv en cloze"

Moving to Anki

cp audio/* ~/Library/Application\ Support/Anki2/[Account]/collection.media

About

Use to translate text and create audio and Anki files. Source is a csv file and output is a tsv file for Anki.


Languages

Language:Java 100.0%