ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

How Google Translate Works

Updated on June 8, 2011
Screenshot
Screenshot

Overview

We here present how Google translate works. If you want to find out how automatic translation works on Google translator, then you will need to read this article.

Google translator is one of many newly design web based translator that uses java script to automatic translate many different languages, 57 different languages to be precise. Google translator cannot only translate words and sentences, but also translate pages, books, and even an entire website.

The build in support for website translation enable people of different nationalities and languages sharing information across the internet.

Machine Translation

To understand how Google translate works, you must first understand how automatic translation works. Automatic translate or machine translation (MT), is one of the major technology development 21 century. It uses computer software to translate one language from another.

In general, there are two levels of translation. First is the word for word translation. Computer will try to match one word from one language to same word from another language. Second, computer tries to recombine words into the language and make it flow more naturally. The second step is the hardest part, because for machine to sound as good as a human, it needs to have many algorithms that people inputted.

That is when the Google translator comes in. Google made its stockpile of information available on the Google translator. The machine translation is done by finding patterns of data of people’s typing on the Google database. While it is by no mean perfect, but comparing with other software, such as the Babel Fish, which uses a rule based system, Google’s machine translation is way superior.

Here are how it works!

Statistical Machine Translation

The core algorithm to make 'Google Translate - Machine Translation' works is statistical machine translation (SMT). SMT uses statistical model to determine the word translation. This basic method doesn't follow any language translation rules.

To make statistical model, we need bilingual text corpora/corpus. Bilingual text corpus is a database of source sentences and target sentences. For example if we want to build statistical model for English to Spain translation, we need a database of English sentences and Spain translated sentences. The more sentences the more good statistical model we have.

Computer will be trained to calculate probability word distribution statistic from above sentences. For example if word AAA has probability 80% to be translated into BBB, then we confident that AAA can be translated into BBB.

Since it doesn't rely on any linguistic rule, SMT can be used to make translation any pair languages. Although it need times to make bilingual language corpora, but the result is much better than ruled-based translation.

The combination SMT and ruled-based translation will make translation better.

How to get bilingual text corpus?

We know that Google Translate supports many pair language translations. Google gathers bilingual text corpus from many documents. They scan the original version books and the translated version. They crawl websites which have two or more language versions. Sometimes they hire translators to translate from one language to other language.

After they have bilingual documents, Google do word alignment. They have software that can align source sentences and translated sentences. This software creates database pair of source sentences and translated sentences.

Basic SMT Language Model Flow

Above picture is the basic of creating SMT language model. First step is collecting many documents from many sources. Then system will align sentences and create database of pair sentences (bilingual text corpus).

System will be trained using that corpus. It will analyze the statistic of word distribution in each sentence. The output of this training is language model. Each pair translation has their own language model. Language model will be updated each time the system learn new corpus.

Using this language model we can translate other sentences.

Overview on Statistical Machine Translation

Benefit of SMT

SMT have benefits over traditional translation method (e.g: rule based translations):

  • Generally SMT translator is not tailored to support specific languages. It builds to support many pair of languages so SMT have better use of resources. It means building SMT translator is cheaper than traditional method.
  • Depending on the number of bilingual of corpus, SMT translator gives more natural translations. The more bilingual corpus it has, the more translator trained with new bilingual corpus, the more natural translation it has.

Google Translate

While there are many machine translation software on the internet, Google translator is clearly in the front of the pack. One of Google automatic translator’s clear advantages is the phonetic typing.

Google translator allow user to translate more than just Latin based languages by enabling a web based phonetic keyboard right on the translator. Many languages such as Russian, Greek, Hindu, Serbian, Arabic, and Urdu, have different words other than English, but their words may sound like certain terms in English. For example, the "aap" in English sounds very much like "??" in Hindi.

Critics on Google Translate

However, Google’s automatic translate is not without critics. Even though its pattern recognition system is way more natural sounding and accurate than rule based system, it cannot be remotely close to a human translation.

Many linguists believe that Google’s machine translation is simply sounded too “machinelike”. While pattern recognition may help getting information cross different languages, the computer itself just simply cannot account for all the patterns in all the languages. Will Google translator gather the entire language speech pattern in the future?

Will Google translator match the skill of a human translator? That is questionable, because there are just too many speech patterns for Google to collect. However, as Google gathers more and more information about each language’s speech pattern, it will be more and more perfect in the foreseeable future.

working

This website uses cookies

As a user in the EEA, your approval is needed on a few things. To provide a better website experience, hubpages.com uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: https://corp.maven.io/privacy-policy

Show Details
Necessary
HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
LoginThis is necessary to sign in to the HubPages Service.
Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
AkismetThis is used to detect comment spam. (Privacy Policy)
HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the googleapis.com or gstatic.com domains, for performance and efficiency reasons. (Privacy Policy)
Features
Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
MavenThis supports the Maven widget and search functionality. (Privacy Policy)
Marketing
Google AdSenseThis is an ad network. (Privacy Policy)
Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
Index ExchangeThis is an ad network. (Privacy Policy)
SovrnThis is an ad network. (Privacy Policy)
Facebook AdsThis is an ad network. (Privacy Policy)
Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
AppNexusThis is an ad network. (Privacy Policy)
OpenxThis is an ad network. (Privacy Policy)
Rubicon ProjectThis is an ad network. (Privacy Policy)
TripleLiftThis is an ad network. (Privacy Policy)
Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
Statistics
Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)
ClickscoThis is a data management platform studying reader behavior (Privacy Policy)