Module implementing the LibreTranslate translation engine.
None |
LibreTranslateEngine | Class implementing the translation engine for the LibreTranslate service. |
createEngine | Function to instantiate a translator engine object. |
Class implementing the translation engine for the LibreTranslate service.
None |
None |
LibreTranslateEngine | Constructor |
__getTranslationModels | Private method to get the translation models supported by IBM Watson Language Translator. |
__getTranslationModelsReplyFinished | Private slot handling the receipt of the available translations. |
engineName | Public method to return the name of the engine. |
getTranslation | Public method to translate the given text. |
hasTTS | Public method indicating the Text-to-Speech capability. |
supportedLanguages | Public method to get the supported languages. |
supportedTargetLanguages | Public method to get a list of supported target languages for an original language. |
None |
Constructor
Private method to get the translation models supported by IBM Watson Language Translator.
Private slot handling the receipt of the available translations.
Public method to return the name of the engine.
Public method to translate the given text.
Public method indicating the Text-to-Speech capability.
Public method to get the supported languages.
Public method to get a list of supported target languages for an original language.
Function to instantiate a translator engine object.