Module implementing the IBM Watson translation engine.
None |
IbmWatsonEngine | Class implementing the translation engine for the IBM Watson Language Translator service. |
None |
Class implementing the translation engine for the IBM Watson Language Translator service.
None |
None |
IbmWatsonEngine | Constructor |
__adjustLanguageCode | Private method to adjust a given language code. |
__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 adjust a given language code.
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.