Package sk.iway.iwcm.system.translation
Class DeepL
java.lang.Object
sk.iway.iwcm.system.translation.TranslationEngine
sk.iway.iwcm.system.translation.DeepL
Zakladna implementacia prekladania textu cez deepl.com
dokumentacia: https://www.deepl.com/docs-api
vyzaduje nastavenu konf. premennu deepl_auth_key
-
Field Summary
Fields inherited from class sk.iway.iwcm.system.translation.TranslationEngine
BASE_DELAY_MS, MAX_RETRIES, random
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Methods inherited from class sk.iway.iwcm.system.translation.TranslationEngine
applyDelay, auditBilledCharacters, auditRemainingCharacters
-
Constructor Details
-
DeepL
public DeepL()
-
-
Method Details
-
isConfigured
public boolean isConfigured()- Specified by:
isConfigured
in classTranslationEngine
-
translate
- Specified by:
translate
in classTranslationEngine
-
numberOfFreeCharacters
- Specified by:
numberOfFreeCharacters
in classTranslationEngine
-
engineName
- Specified by:
engineName
in classTranslationEngine
-