Class MachineTranslators
java.lang.Object
org.omegat.core.machinetranslators.MachineTranslators
Deprecated, for removal: This API element is subject to removal in a future version.
A class for aggregating machine translation connectors.
You can register your MT plugin through a Core method as follows;
public class ExamplePlugin {
public static void loadPlugins() {
Core.registerMachineTranslationClass(ExamplePlugin.class);
}
public static void unloadPlugins() {
}
public ExamplePlugin() {
// You can initialize internal resources here.
// Because the class will be instantiated in a dynamic way through
// Core.registerMachineTranslationClass API, only a default constructor
// can be used, and unable to expect static initialization of the class.
}
}
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidadd(IMachineTranslation machineTranslator) Deprecated, for removal: This API element is subject to removal in a future version.static List<IMachineTranslation>Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Details
-
add
Deprecated, for removal: This API element is subject to removal in a future version. -
getMachineTranslators
Deprecated, for removal: This API element is subject to removal in a future version.
-