nidhal baccouri
commited on
Commit
·
3ac6e56
1
Parent(s):
de7b05b
added microsoft translator
Browse files- README.rst +2 -0
- deep_translator/__init__.py +2 -0
README.rst
CHANGED
@@ -87,6 +87,7 @@ Features
|
|
87 |
========
|
88 |
|
89 |
* Support for `google translate <https://translate.google.com/>`_
|
|
|
90 |
* Support for `Pons translator <https://de.pons.com/>`_
|
91 |
* Support for the `Linguee translator <https://www.linguee.com/>`_
|
92 |
* Support for the `Mymemory translator <https://mymemory.translated.net/>`_
|
@@ -146,6 +147,7 @@ Imports
|
|
146 |
.. code-block:: python
|
147 |
|
148 |
from deep_translator import (GoogleTranslator,
|
|
|
149 |
PonsTranslator,
|
150 |
LingueeTranslator,
|
151 |
MyMemoryTranslator,
|
|
|
87 |
========
|
88 |
|
89 |
* Support for `google translate <https://translate.google.com/>`_
|
90 |
+
* Support for the `microsoft translator < https://www.microsoft.com/en-us/translator/ />`_ (version >= 1.3.5)
|
91 |
* Support for `Pons translator <https://de.pons.com/>`_
|
92 |
* Support for the `Linguee translator <https://www.linguee.com/>`_
|
93 |
* Support for the `Mymemory translator <https://mymemory.translated.net/>`_
|
|
|
147 |
.. code-block:: python
|
148 |
|
149 |
from deep_translator import (GoogleTranslator,
|
150 |
+
MicrosoftTranslator,
|
151 |
PonsTranslator,
|
152 |
LingueeTranslator,
|
153 |
MyMemoryTranslator,
|
deep_translator/__init__.py
CHANGED
@@ -8,6 +8,7 @@ from .yandex import YandexTranslator
|
|
8 |
from .qcri import QCRI
|
9 |
from .deepl import DeepL
|
10 |
from .detection import single_detection, batch_detection
|
|
|
11 |
|
12 |
|
13 |
__author__ = """Nidhal Baccouri"""
|
@@ -19,6 +20,7 @@ __all__ = [GoogleTranslator,
|
|
19 |
LingueeTranslator,
|
20 |
MyMemoryTranslator,
|
21 |
YandexTranslator,
|
|
|
22 |
QCRI,
|
23 |
DeepL,
|
24 |
single_detection,
|
|
|
8 |
from .qcri import QCRI
|
9 |
from .deepl import DeepL
|
10 |
from .detection import single_detection, batch_detection
|
11 |
+
from .microsoft import MicrosoftTranslator
|
12 |
|
13 |
|
14 |
__author__ = """Nidhal Baccouri"""
|
|
|
20 |
LingueeTranslator,
|
21 |
MyMemoryTranslator,
|
22 |
YandexTranslator,
|
23 |
+
MicrosoftTranslator,
|
24 |
QCRI,
|
25 |
DeepL,
|
26 |
single_detection,
|