Nidhal Baccouri
commited on
Commit
·
b32a994
1
Parent(s):
c9fc8b6
fixed readme
Browse files- docs/README.rst +2 -2
docs/README.rst
CHANGED
|
@@ -685,7 +685,7 @@ BaiduTranslator
|
|
| 685 |
- Translate batch of texts
|
| 686 |
|
| 687 |
.. code-block:: python
|
| 688 |
-
|
| 689 |
texts = ["Hello world", "How are you?"]
|
| 690 |
translated = BaiduTranslator(appid="your-appid", appkey="your-appkey" source="en", target="zh").translate_batch(texts)
|
| 691 |
|
|
@@ -715,7 +715,7 @@ BaiduTranslator
|
|
| 715 |
- Translate batch of texts
|
| 716 |
|
| 717 |
.. code-block:: python
|
| 718 |
-
|
| 719 |
texts = ["Hello world", "How are you?"]
|
| 720 |
translated = BaiduTranslator(appid="your-appid", appkey="your-appkey" source="en", target="zh").translate_batch(texts)
|
| 721 |
|
|
|
|
| 685 |
- Translate batch of texts
|
| 686 |
|
| 687 |
.. code-block:: python
|
| 688 |
+
|
| 689 |
texts = ["Hello world", "How are you?"]
|
| 690 |
translated = BaiduTranslator(appid="your-appid", appkey="your-appkey" source="en", target="zh").translate_batch(texts)
|
| 691 |
|
|
|
|
| 715 |
- Translate batch of texts
|
| 716 |
|
| 717 |
.. code-block:: python
|
| 718 |
+
|
| 719 |
texts = ["Hello world", "How are you?"]
|
| 720 |
translated = BaiduTranslator(appid="your-appid", appkey="your-appkey" source="en", target="zh").translate_batch(texts)
|
| 721 |
|