Content translation/Machine Translation/Youdao

From 31 October 2016, Youdao machine translation system is available and can be used when translating Wikipedia pages using Content Translation.

Youdao is provided by NetEase – an internet services company from China. Wikimedia Foundation's Legal team and NetEase collaborated to work out an agreement that will allow the use of Youdao without compromising Wikipedia's policy of attribution of rights, privacy of our users and brand representation. The summary of terms of the agreement are below and we are happy to hear any questions you may have about this service. This has also been supported by the Chinese Wikipedia community.

Key features

 * No personal information is collected by Youdao. The MT system will be accessed via a publicly accessible API key (contents of the linked page are written in Chinese).  Article content (freely licensed) is sent to Youdao servers from Wikimedia Foundation servers.  No direct communication is happening between the user and external services and no personal information (IP, username) is sent to Youdao’s servers along with the Wikipedia content.  The client contacting Youdao servers is open source and you can check it here.  No part of Youdao's service or code will be part of Wikimedia infrastructure or Content Translation codebase


 * Information is returned from Youdao still under a free license. When Youdao’s service is used, they provide a translated version of Wikipedia content that maintains its free license.  Users can modify it and publish it as part of Wikipedia without conflicts with existing policies.  The resulting content translated by Youdao and the user modifications will be available under the same license that is used for the rest of the articles in Wikipedia.


 * Benefits the wider open source translation community. Translations obtained from Youdao and modifications made by users will be publicly available.  The post-edited translations are of special interest for the translation research community who can use this resource to create new translation services to support languages for which open source machine translation is not available yet.  This will help developers create and improve machine translation systems.


 * Automatic translation is an optional tool in Content Translation. Users have an option to disable it if they don't find it useful for some reason.  The preferences allow users to decide whether they would like to use this service, or another available service for their language, or no machine translation services at all.



Known issues
Youdao Machine translation service does not translate rich text like HTML. It accepts plain text content and outputs plain text translation. Content translation usually re-applies markup on top of this kind of output, but for Chinese, this is not possible because of non-trivial tokenization of sentence to words. Hence, translators will receive the translations only in plain text, and all links, references etc. will have to be added manually during translation.

Youdao's obligations

 * To license their API key for free to the Wikimedia Foundation to allow volunteers on Wikimedia sites to translate articles
 * To allow volunteers to translate up to four thousand characters per request and ten million characters per day (much more than their publicly available option)
 * To give Wikimedia statistical data on the quantity of characters in the requests sent

Wikimedia Foundation’s obligations

 * To provide the volunteer-edited versions of the text translated by the translation tool so that Youdao can improve their tool
 * No personal data of translators will be shared.
 * Currently, just the original content to translate, its language, and translation target language are sent in the request to Youdao.
 * The translations published by translators, with or without the help of machine translation services, will be provided in the form of parallel corpora by content translation APIs. These APIs will be developed incrementally and results will be freely available for everyone, not just Youdao.

Important notes

 * All content will remain licensed under CC BY-SA 3.0
 * Youdao is not requiring any “branding” on Wikimedia Sites outside of listing Youdao as a translation tool option in the translation interface drop-down menu
 * There is no exchange of personal information of users
 * The agreement is limited to 1 year, at which time we can reevaluate our needs
 * We are free to terminate the agreement for any reason, at any time (with 30 days notice)
 * Agreement is governed by US law

Questions about this service
We have addressed some immediate questions about Youdao in this section. More information is also available on the Content Translation FAQ page.

What languages are being handled by Youdao? Are there plans to add more?
Youdao is available at present only for translations Chinese, and English, French, Japanese, Korean, Portuguese, Russian and Spanish, for users who will be creating pages through Content Translation. As Youdao’s language coverage expands we will consider enabling them for Content Translation. Please note: Youdao machine translation will not be available when creating pages from Chinese to English.

How is using Youdao different than using other machine translation systems?
As a user of Content Translation you will not feel any difference on the translation interface as the machine translation system of Youdao will display the translated content similar to Apertium or Yandex. However, due to Youdao's current limitation of not supporting rich text, links, references etc. will have to be adapted manually.

How is the machine translation being done if I choose Youdao?
Youdao provides a free for use API key that allows websites and other services to use their translation system. Content Translation also uses a unique API key to access this service on Youdao's server. When a user starts translating an article, the HTML content of each section of the source article is sent to the Youdao server and a translated version is obtained and displayed on the respective translation column of Content Translation. Links and references are adapted as usual and users can modify the content as required.

This process continues for all the sections of the article being translated. For better performance, the translations for consecutive sections are pre-fetched. The user can save the unpublished translation (to work on it again at a later time) or publish the article in the usual manner. The article is published on Wikipedia like any other normal article with appropriate attribution and licenses.

You can view a diagram of the process.

Youdao is not based on open source software. Why are we using it?
Content Translation evolved from a long-standing need to bridge the gap in the amount of content between Wikipedias in different languages. Like all other software used on Wikimedia sites, Content Translation is also open source. In this particular case as well, we are using an open source client to interact with the external service and import freely licensed content in order to help users expand our free knowledge.

Similar to Yandex, with Youdao's machine translation system we are not adding any proprietary software in the Content Translation code, or on the Wikimedia websites and servers. The service is free of charge and available for everyone.

Only the freely available Wikipedia article content (in segments) is sent to the Youdao service and the obtained translated content is also freely usable on Wikipedia pages. The translated content can be modified by users and this data also maintains its free license and is available publicly through the Content Translation API. This is a valuable resource made available for the community to develop open source translation services for those languages where they don't exist yet.

After studying the implications carefully, we found the fact that the content was stored previously in a closed source service does not limit the freedom of our knowledge or our software in the present or the future. We have taken special care to make sure that the content translated maintained its free license to make sure it complies with Wikipedia policies. This includes a long process for legal and technical evaluation and compliance. The summary of the terms of use is also available.

From user feedback we have seen that machine translation support is really helpful for users and we want to support all languages in the best way. Guided by the [ https://wikimediafoundation.org/wiki/Resolution:Wikimedia_Foundation_Guiding_Principles#Freedom_and_open_source principles of Wikimedia Foundation's resolution] to support free and open source software, we will prioritise the integration of open source services whenever they are available for a language. Apertium has been a critical part of Content Translation since its inception, and currently provides machine translations for nearly 70 of the numerous possible language combination that Wikipedia can support. Adding Yandex in November 2015 has helped a large group of users of nearly 70 more languages, who were unable to use this facility before with Content Translation.

Should I be worried about my personal information when using Youdao?
Irrespective of the service being used, you can be assured that only Wikipedia content from existing articles is sent and only freely licensed content will be added back to the translation. No personal information is collected and communication with those services happen at the server side, so they are isolated from the user device. Please refer to [ https://www.mediawiki.org/wiki/Content_translation/Technical_Architecture#Machine_Translation this diagram] for more details.

What if Youdao is the only machine translation tool available and I don't want to use it?
Machine Translation is an optional feature in Content Translation that you can easily disable at will. If more machine translation systems are added for your languages, you can choose to enable MT again and select the MT service of your choice.

Will the content translated by Youdao be free for use in Wikipedia?
Yes. The Wikipedia content translated from Youdao is otherwise freely available on the [ http://fanyi.youdao.com/ Youdao web translation platform]. Content Translation receives it via an API key to make it seamlessly available on the translation interface. This content can be modified by the users (if necessary) and used in other Wikipedia articles under free licenses.

Can this content be used for improving machine translation systems in general?
Yes. Translations made in Content Translation are saved in our database. This information will be made publicly available for anyone to use as translation examples to improve their translation services (from University research groups, open source projects to commercial companies, anyone!). The content can be accessed via the Content Translation API. Please note, only information related to translated text is publicly available. This includes – source and translated text, source and target language information and an identifier for the segment of text.