nidhal baccouri
commited on
Commit
·
01ef7d5
1
Parent(s):
8c9d5ae
updated readme
Browse files- README.rst +2 -1
README.rst
CHANGED
@@ -431,6 +431,7 @@ Yandex Translator
|
|
431 |
|
432 |
translated = YandexTranslator('your_api_key').translate_batch(source="auto", target="de", batch=["hello world", "happy coding"])
|
433 |
|
|
|
434 |
Microsoft Translator
|
435 |
------------------
|
436 |
|
@@ -445,7 +446,7 @@ Microsoft Translator
|
|
445 |
There are two required attributes, namely "api_key" (string) and "target" (string or list).
|
446 |
Attribute "source" is optional.
|
447 |
Also, Microsoft API accepts a number of other optional attributes, you can find them here: https://docs.microsoft.com/azure/cognitive-services/translator/reference/v3-0-translate
|
448 |
-
You can simply add them after the required attributes, see the example.
|
449 |
|
450 |
.. code-block:: python
|
451 |
|
|
|
431 |
|
432 |
translated = YandexTranslator('your_api_key').translate_batch(source="auto", target="de", batch=["hello world", "happy coding"])
|
433 |
|
434 |
+
|
435 |
Microsoft Translator
|
436 |
------------------
|
437 |
|
|
|
446 |
There are two required attributes, namely "api_key" (string) and "target" (string or list).
|
447 |
Attribute "source" is optional.
|
448 |
Also, Microsoft API accepts a number of other optional attributes, you can find them here: https://docs.microsoft.com/azure/cognitive-services/translator/reference/v3-0-translate
|
449 |
+
You can simply add them after the required attributes, see the example.
|
450 |
|
451 |
.. code-block:: python
|
452 |
|