Class YandexCloudTranslate
- java.lang.Object
-
- org.omegat.core.machinetranslators.BaseTranslate
-
- org.omegat.core.machinetranslators.BaseCachedTranslate
-
- org.omegat.core.machinetranslators.YandexCloudTranslate
-
- All Implemented Interfaces:
IMachineTranslation
public class YandexCloudTranslate extends BaseCachedTranslate
Support of Yandex.Cloud machine translation.- See Also:
- Translation API
-
-
Constructor Summary
Constructors Constructor Description YandexCloudTranslate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
Get machine translation engine name.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.-
Methods inherited from class org.omegat.core.machinetranslators.BaseCachedTranslate
getCachedTranslation, getTranslation
-
Methods inherited from class org.omegat.core.machinetranslators.BaseTranslate
isEnabled, setEnabled, setGlossarySupplier
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.omegat.gui.exttrans.IMachineTranslation
isEnabled, setEnabled, setGlossarySupplier
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:IMachineTranslation
Get machine translation engine name.
-
isConfigurable
public boolean isConfigurable()
Description copied from interface:IMachineTranslation
Indicates that the MT provider has options that can be configured. Configurable implementations should override this to returntrue
, and implement their configuration UI by overridingIMachineTranslation.showConfigurationUI(Window)
.
-
showConfigurationUI
public void showConfigurationUI(java.awt.Window parent)
Description copied from interface:IMachineTranslation
Invoke the configuration UI of this MT provider.
-
-