×
Community Blog Quick and Easy Machine Translation With Alibaba Cloud - Friday Blog Week 46

Quick and Easy Machine Translation With Alibaba Cloud - Friday Blog Week 46

Learn how to translate text in up to 16 different languages with Alibaba Cloud's Machine Translation Service!

By: Jeremy Pedersen

As some of you may know, it's the middle of the "春节" (Chun Jie) or "Spring Festival" holiday, which means most of China is on vacation, including yours truly!

Of course, that's no reason to postpone the Friday blog, and this week I've got something both short and interesting for you: an introduction to Alibaba Cloud's Machine Translation Service.

What Is Machine Translation Service?

Exactly what it sounds like: a tool for translating text from one language to another. Think "Google Translate", but as a commercial service you can call via a RESTful API.

Currently, the service can translate between 16 different languages: Chinese, English, Korean, Japanese, French, Spanish, Portuguese, Italian, Russian, Arabic, Turkish, Indonesian, Vietnamese, Thai, Polish, and German.

What's So Special About This?

Compared with other AI translation services, Alibaba Cloud's Machine Translation tool has a few special features:

  • A retail-optimized version designed for translating retail item descriptions and titles.
  • The ability to convert between Mandarin Chinese and Cantonese.
  • The ability to convert between Simplified Chinese and Traditional Chinese.

For those who don't know, Simplified Chinese is a writing system primarily used in Mainland China, while Traditional Chinese is used by ethnic Chinese in other countries as well as Taiwan, Macau, and Hong Kong.

An Example: in Simplified Chinese, "Study" would be written as "学习", whereas in Traditional Chinese it would be "學習". It should be pretty obvious how "Simplified Chinese" got its name: the characters have fewer components (called strokes). Don't let that fool you though! Mandarin Chinese is spoken (mostly) the same way regardless of how it is written!

Ok, On To The Good Stuff

So how do we set up and use the service? It's simple.

  1. Log into your Alibaba Cloud account
  2. Enable the service
  3. Purchase a resource package
  4. Test things out from the console
  5. Integrate the service into your own application using the .NET or Java SDK, or by directly calling the RESTful API

I'll talk about steps 1-4 in this blog. Step 5 is left as an exercise for the reader!

Finding The Machine Translation Console

First, open up the Alibaba Cloud console, and click on the orange menu pullout (in the top left corner of the screen):

01_homepage

Search for "Machine Translation":

02_find_ml

Clicking on it should bring you here, to the Machine Translation console:

03_ml_home

There are two "Modes" shown in the screenshot above: Universal and Professional.

Universal is for general-purpose machine translation. Professional is for E-Commerce use cases (product descriptions, titles, and keywords).

Let's choose "Universal":

04_purchase_ml

On Alibaba Cloud's Chinese site, aliyun.com, both Subscription and Pay-As-You-Go modes are available.

However, on alibabacloud.com, only Subscription mode (a 1 year subscription) is available. Luckily it's cheap: 15 USD for a year, with a monthly translation limit of 1 million characters (if you exceed this limit, you pay a per-API-call fee).

After clicking "Buy Now" and agreeing to the terms of service, we can go back to the Machine Translation console homepage, and click on "Test center", to try out the service.

Here, I translate from Chinese to English:

05_test

And here's a more complex example (I speak Chinese so I can confirm that the translations are accurate!):

06_test

That's it! From here, you can try setting up the Java or .NET SDK by following along with the documentation. This way, you can call the service from within your own app(s).

Oh, and Happy Chinese New Year!

I've Got A Question!

Great! Reach out to me at jierui.pjr@alibabacloud.com and I'll do my best to answer in a future Friday Q&A blog.

You can also follow the Alibaba Cloud Academy LinkedIn Page. We'll re-post these blogs there each Friday.

Not a LinkedIn person? We're also on Twitter and YouTube.

0 0 0
Share on

JDP

71 posts | 157 followers

You may also like

Comments

JDP

71 posts | 157 followers

Related Products

  • Alibaba Cloud Academy

    Alibaba Cloud provides beginners and programmers with online course about cloud computing and big data certification including machine learning, Devops, big data analysis and networking.

    Learn More
  • Machine Translation

    Relying on Alibaba's leading natural language processing and deep learning technology.

    Learn More
  • Platform For AI

    A platform that provides enterprise-level data modeling services based on machine learning algorithms to quickly meet your needs for data-driven operations.

    Learn More
  • Backup and Archive Solution

    Alibaba Cloud provides products and services to help you properly plan and execute data backup, massive data archiving, and storage-level disaster recovery.

    Learn More