<commit_before># Free and Slow Google Translate API

## How to use it?

[>> Test it <<](http://google-translate-api.herokuapp.com/translate?from=en&to=ko&text[]=hi,%20how%20are%20you?&text[]=i'm%20fine,%20thank%20you&callback=test)

Test URL

* http://google-translate-api.herokuapp.com/translate

Query strings

* from - [Language code](https://developers.google.com/translate/v2/using_rest#language-params) of text to translate
* to - Language code of target language
* text(or text[] when you request multiple texts) - text to translate. Up to 256 texts
* callback - callback function name for [JSONP](http://en.wikipedia.org/wiki/JSONP)

## How does it work?

It uses Google Spreadsheet API to translate.

## Limits

### Slow

It's very slow because it uses Google Spreadsheet to translate. It's much better if you query multiple texts at once.<commit_msg>Add aim of this project.<commit_after># Free and Slow Google Translate API

## How to use it?

[>> Test it <<](http://google-translate-api.herokuapp.com/translate?from=en&to=ko&text[]=hi,%20how%20are%20you?&text[]=i'm%20fine,%20thank%20you&callback=test)

Test URL

* http://google-translate-api.herokuapp.com/translate

Query strings

* from - [Language code](https://developers.google.com/translate/v2/using_rest#language-params) of text to translate
* to - Language code of target language
* text(or text[] when you request multiple texts) - text to translate. Up to 256 texts
* callback - callback function name for [JSONP](http://en.wikipedia.org/wiki/JSONP)

## What is this for?

I wanted to use Google Translate API for my toy project, but it wasn't free. I didn't wanted to pay for my toy project, so I made this. You may can use this for your side projects or something.

## How does it work?

It uses Google Spreadsheet API to translate.

## Limits

### Slow

It's very slow because it uses Google Spreadsheet to translate. It's much better if you query multiple texts at once.
{'fraction_non_alphanumeric': 0.11550308008213553, 'fraction_numerical': 0.01642710472279261, 'mean_word_length': 4.649275362318841, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6730604', 'n_tokens_mistral': 623, 'n_tokens_neox': 584, 'n_words': 216}