# Caitra

Caitra is a translation Computer Assisted Tool, or CAT, developed by the University of Edinburgh. Provided from an online platform, Caitra is based on AJAX Web.2 technologies and the Moses decoder. The web page of the tool is implemented with Ruby on Rails, an open source web framework, and C++.
Caitra assists human translators by offering suggestions and alternative translations.

## History

Machine Translation (MT) systems are typically used by readers who do not need a thorough translation and want quick access to the foreign language. Professional translators usually require advanced machine translation tools to make their work easier and to give a higher quality translation to their clients. The Trans-Type project (Langlais et al., 2000) gave a pioneer approach to the MT as an aid to human translators. This translation tool would suggest different translations for a segment while providing the translator an opportunity to accept the suggested translation or overwrite it with their own translation, which in turn would trigger new potential translations to the tool. This is, however, not necessarily suitable for professional translators. Tools with post-edition facilities have also been developed as an intermediate field between typical MT and human translators in order to integrate MT and human translation and to achieve the desired results. The School of Informatics and the Machine Translation Group of the University of Edinburgh, created a research program, CAITRA, to analyze the benefits of different types of MTs and to explore the interaction between the machine and the user in order to develop new CAT tools.

## Properties

Caitra is programmed with an open-source web framework, Ruby on Rails (Thomasand Hansson, 2008). The online platform uses Ajax-style Web 2.0 technologies (Raymond, 2007) connected to a MySQL database-driven back-end. The machine translation back-end is powered by the statistical sentence-based MT, Moses (Koehn et al., 2007). C++ is integrated to improve the speed of the process of translation suggestions. The tool is provided online by the School of Informatics as a study of the user’s interaction with the tool, as well as the ability for members suggest additional features and fixes to the program.
The user inputs text into the provided text box. Caitra processes the text as the user clicks the "Upload" icon. The process may last a few minutes, and Caitra will find different options for the translation, one of them is taken by default. Once the process is finished, translators have multiple options of assistance, presented in an interface. The segment for translation is the sentence and so Caitra works with only one sentence at the same time.

## Interactive Machine translation

The Trans-Type project (Langlais et al., 2000) has done an investigation about Interactive Machine Translation, consisting of sentence-segment translation aided by a CAT tool, which suggests several different options for the translation. The human translators may choose one of them or provide their own translation if they do not like the offered translations. This process is similar to the auto-completion tool used in several office programs.
The statistical translation system is followed to generate the predictions for translation. These predictions are provided in short phrases, according to the statistical phrase-based translation model. This model also makes it easier for the user to read the predictions. The suggestions and user actions are stored in a large database. During the user interaction, Caitra quickly matches user input against a graph using a string edit distance measure. The prediction is the optimal completion path that matches the user input with (a) minimal string edit distance and (b) highest sentence translation probability. This computation takes place at the server and is implemented in C++, as Philipp Koehn explains. Once the user accepts a suggestion, a new one is displayed as well the typing of a new segment. The acceptance of suggestions depends on the pair of languages and the complexity of the text. Preliminary studies about CAITRA suggest that users usually accept 50-80% of predictions generated by the system.

## Translation process

Once the text is uploaded, users can see the result of the machine translation and edit the text based on the predictions. The prediction table is displayed by clicking the edit icon. The text is divided into sentences, which are also divided into smaller units. Predictions for these units appear in a box, and the most likely suggestion has a different colour in the highest part of the table. Predictions are accepted by clicking on them and the system updates the election to the user input. The database is made of amounts of pairs of translated texts and translations. The most likely prediction is the result of previous matches in the database. The user's choices are scored in the database to be used in future translations. These predictions help not only professional translators, but also novice translators who do not know the vocabulary and people without knowledge of the foreign language.

## Post-editing Machine Translation process

Users can review their translation and make any change to correct possible mistakes. The changes appear in the output display.

## User activity

Caitra stores the allotted time in which the users accept a prediction or write their own translation. The actions have different importance for the future predictions depending on the user's actions and in the time they need to perform their translation. Every action, pause or movement is relevant in order to improve future translations.