nidhal baccouri
commited on
Commit
·
07b82a7
1
Parent(s):
ee99f4b
updated readme
Browse files- README.rst +17 -0
README.rst
CHANGED
|
@@ -96,6 +96,7 @@ Features
|
|
| 96 |
* Support for the `Yandex translator <https://yandex.com/>`_ (version >= 1.2.1)
|
| 97 |
* Support for the `QCRI translator <https://mt.qcri.org/api/>`_ (version >= 1.2.4)
|
| 98 |
* Support for the `DeepL translator <https://www.deepl.com/en/translator/>`_ (version >= 1.2.5)
|
|
|
|
| 99 |
* Support for proxy usage
|
| 100 |
* Automatic single language detection
|
| 101 |
* Batch language detection
|
|
@@ -168,6 +169,7 @@ Imports
|
|
| 168 |
LingueeTranslator,
|
| 169 |
MyMemoryTranslator,
|
| 170 |
YandexTranslator,
|
|
|
|
| 171 |
DeepL,
|
| 172 |
QCRI,
|
| 173 |
single_detection,
|
|
@@ -498,6 +500,21 @@ Microsoft Translator
|
|
| 498 |
|
| 499 |
translated = MicrosoftTranslator(api_key='some-key', target='german').translate_file('path/to/file')
|
| 500 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 501 |
Proxy usage
|
| 502 |
-------------
|
| 503 |
|
|
|
|
| 96 |
* Support for the `Yandex translator <https://yandex.com/>`_ (version >= 1.2.1)
|
| 97 |
* Support for the `QCRI translator <https://mt.qcri.org/api/>`_ (version >= 1.2.4)
|
| 98 |
* Support for the `DeepL translator <https://www.deepl.com/en/translator/>`_ (version >= 1.2.5)
|
| 99 |
+
* Support for the `Papago translator <https://papago.naver.com/>`_ (version >= 1.4.4)
|
| 100 |
* Support for proxy usage
|
| 101 |
* Automatic single language detection
|
| 102 |
* Batch language detection
|
|
|
|
| 169 |
LingueeTranslator,
|
| 170 |
MyMemoryTranslator,
|
| 171 |
YandexTranslator,
|
| 172 |
+
PapagoTranslator,
|
| 173 |
DeepL,
|
| 174 |
QCRI,
|
| 175 |
single_detection,
|
|
|
|
| 500 |
|
| 501 |
translated = MicrosoftTranslator(api_key='some-key', target='german').translate_file('path/to/file')
|
| 502 |
|
| 503 |
+
|
| 504 |
+
Papago Translator
|
| 505 |
+
---------------------
|
| 506 |
+
|
| 507 |
+
.. note::
|
| 508 |
+
|
| 509 |
+
You need to require a **client id** and **client secret key** if you want to use the papago translator.
|
| 510 |
+
visit the official website for more information about how to get one.
|
| 511 |
+
|
| 512 |
+
.. code-block:: python
|
| 513 |
+
|
| 514 |
+
text = 'happy coding'
|
| 515 |
+
translated = PapagoTranslator(client_id='your_client_id', secret_key='your_secret_key', source='en', target='ko').translate(text=text) # output: 행복한 부호화
|
| 516 |
+
|
| 517 |
+
|
| 518 |
Proxy usage
|
| 519 |
-------------
|
| 520 |
|