Francesco commited on
Commit
5d13bbd
·
1 Parent(s): bd52cd0

typo in the documentation

Browse files

Both README.rst and usage.rst files used LingueeTranslator instead of PonsTranslator to show how to translate a batch of words

Files changed (2) hide show
  1. docs/README.rst +1 -1
  2. docs/usage.rst +1 -1
docs/README.rst CHANGED
@@ -484,7 +484,7 @@ PONS Translator
484
 
485
  .. code-block:: python
486
 
487
- translated_words = LingueeTranslator(source='english', target='french').translate_words(["good", "awesome"])
488
 
489
  Yandex Translator
490
  ------------------
 
484
 
485
  .. code-block:: python
486
 
487
+ translated_words = PonsTranslator(source='english', target='french').translate_words(["good", "awesome"])
488
 
489
  Yandex Translator
490
  ------------------
docs/usage.rst CHANGED
@@ -259,7 +259,7 @@ PONS Translator
259
 
260
  .. code-block:: python
261
 
262
- translated_words = LingueeTranslator(source='english', target='french').translate_words(["good", "awesome"])
263
 
264
  Yandex Translator
265
  ------------------
 
259
 
260
  .. code-block:: python
261
 
262
+ translated_words = PonsTranslator(source='english', target='french').translate_words(["good", "awesome"])
263
 
264
  Yandex Translator
265
  ------------------