public class YandexCloudTranslate extends BaseTranslate
enabled, glossarySupplier
Constructor and Description |
---|
YandexCloudTranslate() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Get machine translation engine name.
|
protected java.lang.String |
getPreferenceName() |
boolean |
isConfigurable()
Indicates that the MT provider has options that can be configured.
|
void |
showConfigurationUI(java.awt.Window parent)
Invoke the configuration UI of this MT provider.
|
java.lang.String |
translate(Language sLang,
Language tLang,
java.lang.String text) |
cleanSpacesAroundTags, clearCache, getCachedTranslation, getCredential, getFromCache, getTranslation, isCredentialStoredTemporarily, isEnabled, putToCache, setCredential, setEnabled, setGlossarySupplier
public java.lang.String getName()
IMachineTranslation
public boolean isConfigurable()
IMachineTranslation
true
, and implement their configuration UI by overriding
IMachineTranslation.showConfigurationUI(Window)
.public java.lang.String translate(Language sLang, Language tLang, java.lang.String text)
translate
in class BaseTranslate
public void showConfigurationUI(java.awt.Window parent)
IMachineTranslation
protected java.lang.String getPreferenceName()
getPreferenceName
in class BaseTranslate