Module implementing the translation engine base class.
None |
TranslationEngine | Class implementing the translation engine base class containing default methods. |
None |
Class implementing the translation engine base class containing default methods.
None |
None |
TranslationEngine | Constructor |
engineName | Public method to get the name of the engine. |
getTextToSpeechData | |
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
Public method to get 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.
Note: The default implementation return the list of supported languages (i.e. the same as those for the source) with the given original removed.