public class MosesTranslate extends BaseTranslate
enabled, glossarySupplier
Constructor and Description |
---|
MosesTranslate() |
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.
|
protected java.lang.String |
translate(Language sLang,
Language tLang,
java.lang.String text) |
cleanSpacesAroundTags, clearCache, getCachedTranslation, getCredential, getFromCache, getTranslation, isCredentialStoredTemporarily, isEnabled, putToCache, setCredential, setEnabled, setGlossarySupplier
protected java.lang.String getPreferenceName()
getPreferenceName
in class BaseTranslate
public java.lang.String getName()
IMachineTranslation
protected java.lang.String translate(Language sLang, Language tLang, java.lang.String text) throws java.lang.Exception
translate
in class BaseTranslate
java.lang.Exception
public boolean isConfigurable()
IMachineTranslation
true
, and implement their configuration UI by overriding
IMachineTranslation.showConfigurationUI(Window)
.public void showConfigurationUI(java.awt.Window parent)
IMachineTranslation