-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f61e64f
commit f21927f
Showing
1 changed file
with
12 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,16 @@ | ||
# Translate Dataset | ||
# translate-dataset | ||
This is a great README file by Sildolfo Gomes | ||
([email protected]) | ||
|
||
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT) | ||
The project is about: | ||
Tools for translate dataset usin | ||
|
||
This project provides tools for translating datasets using the Google Translate API. | ||
## Team: | ||
|
||
## Team | ||
* Coordenador: Sildolfo Gomes ([email protected]) | ||
* Especialista Android: Felipe Augusto ([email protected]) | ||
* Especialista Android: Daniel Miranda ([email protected]) | ||
|
||
* Coordinator: Sildolfo Gomes ([email protected]) | ||
|
||
## Introduction | ||
|
||
The Translate Dataset project aims to provide a convenient way to translate datasets using the Google Translate API. It is designed to handle CSV files, break down the text in each field, translate it, and then merge it back into a new CSV file. | ||
|
||
## How to Use | ||
|
||
To utilize the current translation module, follow these steps: | ||
|
||
1. Create an account on the Google Cloud Platform (GCP). | ||
2. Generate a Google Translate API key by enabling the Google Translate service. | ||
3. Generate a JSON file containing the necessary credentials. | ||
4. Place the JSON file in the root folder of the system (a more secure method will be implemented later). | ||
5. Access the JSON file within the translation script. | ||
|
||
Once you have set up the necessary credentials, you can proceed with the following steps: | ||
|
||
1. Verify any restrictions in the CSV file. | ||
2. Break down the texts in the CSV file. | ||
3. Translate the texts. | ||
4. Merge the translated texts back into a new CSV file. | ||
|
||
## Requirements | ||
|
||
To use this module, you need to have the following: | ||
|
||
* Python 3.6 or higher | ||
* Google Translate API key | ||
* CSV file to translate | ||
|
||
## Installation | ||
|
||
1. Clone the repository: | ||
|
||
```bash | ||
git clone https://github.com/sildolfo/translate-dataset.git | ||
# How to Use | ||
Install Poetry | ||
make activate |