Skip to content

iloha-openlab/omegat-textra-plugin

Repository files navigation

NICT TexTra Machine Translation API plugin for OmegaT

This is an implementation of OmegaT plugin which supports NICT TexTra Machine Translation API which is provided by NiCT for non-profit and OSS translations, and Kawamura-International for Business translations.

When you are looking for Mirai Translator(R) connector, based on NICT engine and NTT collaboration, you may be interested in MT plugin for OmegaT.

Install

Please download latest omegat-textra-plugin-x.x.zip file from releases page in this repository. You can get a plugin file (omegat-textra-plugin-x.x.jar) from downloaded zip distribution. The OmegaT plugin should be placed in $HOME/.omegat/plugins or C:\Users\username\AppData\Roaming\OmegaT\plugins depending on your operating systemc.

Requirements

  • OmegaT 6.0.0 or later
  • Java runtime version 11.0.3 or later

Configuration

You can enable the plugin using Options > Preferences... > Machine Translation to check Textra by NICT on. After enables configurations, it is necessary to configure TexTra username, API key and secret on a dialog shown when pushing Configure button

The information can be obtained from a link shown in the dialog. After configured, suggestions will appear in the Machine Translation pane automatically.

Windows

On Windows you can install the plugin to the plugins directory in your Application Data directory:

Windows 10: C:\Users\AppData\Roaming\OmegaT

Mac OS X

On OS X you are recommended to install the plugin to /Users//Library/Preferences/OmegaT/plugins. The Library folder in your home directory may be hidden; to access it from the Finder, select Go > Go to Folder from the main menu and enter ~/Library/Preferences/OmegaT/plugins.

Linux & BSD

On Linux and BSD you can install the plugin to the plugins directory where OmegaT is installed (alongside OmegaT.jar) or to ~/.omegat/plugins.

TexTra Terms and API key

You need to agree NICT TexTra Service terms and get an account (username, api key and api secret) to use this plugin with OmegaT. The terms show at https://mt-auto-minhon-mlt.ucri.jgn-x.jp/content/policy/

Supported models

NICT non-profit and OSS translations account

  • generalNT: General Neural Translation
  • voicetraNT: VoiceTra Neural Translation
  • fsaNT: Finance Neural Translation
  • patentNT: Patent Neural Translation
  • indic2: Indic language translation
  • minnaPE: General NT+ (minnaNT)
  • news: News translation
  • patentLM: Patent Language Model
  • seikatsu: Daily life translation
  • shortSnt: Short sentence translation
  • transLM: Translation Language Model
  • transLMT: Translation Language Model with Terminology
  • custom: Custom engine

Kawamura-Internaltional Personal Business account

  • generalNT: General Neural Translation
  • voicetraNT: VoiceTra Neural Translation
  • fsaNT: Finance Neural Translation
  • patentNT: Patent Neural Translation
  • science: Science translation

License

The plugin is distributed under the GNU general public license version 3 or later.

About

OmegaT plugin to use TexTra(R) powered by NICT

Topics

Resources

License

Stars

28 stars

Watchers

4 watching

Forks

Sponsor this project

Contributors