STILL A WORK IN PROGRESS
笔记 : 我在学中文,也这个文件我要尝试翻译
NOTE : I am learning Chinese. I will (want) try to translate this document.
This project is currently only grabbing a document that has Chinese characters plus translations that I share with my teacher.
The structure of the document is the following:
你好 Nǐ hǎo Hi ...
I take those translations and make it into a CSV file. I added the option to add text-to-speech to help me remember the words and memorise the pronounciation. It was based on some code created by @marcaube.
You need to have access to Google Cloud. You must create a service account and give access to your document using the service account email
- General:
- text-with-speech
- Default: True
- Description: Create extra CSV file with text-to-speech.
- swap-source-destination-language
- Default: True
- Description: Create extra CSV filew where Language source is swapped with destination. i.e: ZH -> EN will be EN -> ZH
- enable-google-docs
- Default: True
- Description: Enable google docs to retrieve phrases. You need to specify your
credential_file
from Google and thedocument-id
.
- enable-fluentu
- Default: False
- Description: Enable fluentu to retrieve saved words from. You need specify the
username
and thepassword
within theFluentU
section.
- text-with-speech