|
123456789101112 |
- """
- Voice service abstract class
- """
-
-
- class Translator(object):
-
- def translate(self, query: str, from_lang: str = "", to_lang: str = "en") -> str:
- """
- Translate text from one language to another
- """
- raise NotImplementedError
|