Wiki

Clone wiki

Okapi / TranslationResources

Translation Resources

One of the tasks often required during the various steps of a localization process is to search if a translation exists already for a given text (leveraging, pre-translation, interactive translation, etc). This actions can be implemented into a few classes:

ITMQuery

The ITMQuery interface allows translation memories to expose their data through a common query mechanism. It takes an ISegment object as input with a few options to setup things like threshold, maximum number of hits returned, etc. The interface will provides the means to allow access to both local or remote TM systems. Provisions are also made to allow the query to be filtered based on attributes and other TM properties.

See also ITMQuery

The framework will implement its own TM engine, but to have also access to other TM systems, we will develop connectors that implement ITMQuery on one side and the native interface to the targeted TM engine on the other side.

IMTQuery

Similarly, the IMTQuery interface allows machine translation systems to be exposed through a common query mechanism. It also takes an ISegment object as input, and provides the means to access both local or remote systems.

IMatch

The results of both TM and MT queries are returned in the form of objects implementing the IMatch interface. This interface provides a score value for the given match, the text of the translation (as an ISegment object) and possibly the original source text. Provisions are made for the few aspects of MT-specific result, which are treated like a fuzzy match.

See also IMatch

ITMUpdate

Some tools need to feed back new or corrected translation to the TM system. The ITMUpdate interface allows TM system to do this.

IMTUpdate

Some machine translation system (e.g. Google’s) have mechanism to get back corrected or improved translation of an automated translation they have generated. The IMTUpdate interface is designed for this.

ITranslationAccessManager

In order to access multiple TM and MT system at the same time, the ITranslationAccessManager provides the way to organize the list of systems to query and access their results. The settings can be saved into strings or files and re-used. This way the all setup for a given project can be carried through the different steps of a process and through different sessions across tools.

See also IAccessManager

Updated