Showing posts with label translation. Show all posts
Showing posts with label translation. Show all posts

Wednesday, July 31, 2024

Translating Japanese to English

I currently work for Sony and that means I interact with a lot of Japanese people as well as documents written in Japanese. One of my coworkers moved from Tokyo to Los Angeles to help with her English skills. Unfortunately she still lacks a bit of confidence. Sometimes she will start with a document in Japanese and then use a translation program like Google Translate to convert it to English. Today I found myself needing to review several of her documents even though they had not been translated.

At Sony we need to be careful as to what translation services we use. While it is probably not a problem to use Google Translate, some of our documents contain company secrets and so we have set up our own large language model (LLM) artificial intelligence (AI) service to help with translation. This keeps outside services from being able to review our documents and being able to deduce some of the projects we are undertaking.

Our private LLM is based off similar technology to ChatGPT and so some of the things I have tried will work on that publicly available service.

I logged into our LLM and selected what type of help I wanted. Some of my choices included General, Image, and Document as well as Translator. Naturally I selected the last one and it presented a dialog area where I could ask questions and it would provide a response. I started with, "Translate the following from Japanese to English:," and then copied and pasted a Japanese phrase from the document I needed to review. Before spitting out an answer, the LLM asked me to provide some context such as the intended audience. I mentioned it will be used for internal documentation and then it provided a translation. The English matched my expectation of what should be in the document and so I copied the text into the original document under the Japanese text.

Next I typed, "Translate:," followed by another Japanese phrase and the LLM replied with, "Certainly, here is the translation." It was so polite I wanted to start all of my requests with, "Please." I stopped myself from using such pleasantries knowing that the machine doing the work would ignore them. I also tried just copying and pasting the Japanese text without indicating I wanted it translated. Most of the time, the LLM would translate for me. Several times it responded with something along the lines of, "I'm sorry I don't know what to do." Simply prepending the phrase with, "Translate," would be all the instructions it needed.

I translated three or four documents rather quickly and could review them. The translations seemed clear and concise. I shared what I had done with my colleague and she is happy I took the initiative to get something done instead of waiting for her. She can now review the work done by the LLM and make sure it matches her initial intent.

My experience with Large Language Model AI impressed me today. I prefer to write my own documentation and so there are not a lot of other uses for the technology. It did do an amazing job translating a very difficult language like Japanese to English and is now my favorite technology for such jobs in the future. Should you need translation services, I highly recommend giving it a try.

Friday, August 19, 2011

Language Translation

A friend of mine asked me to help him translate some training material from English to French. Having lived in France and Belgium for several years, I speak French fluently. Unfortunately that is not the same as being able to write fluently. I would guess I have the spelling ability of about a 3rd grader. Luckily computers are really good at spelling and so I agreed to help my friend.

While I could have loaded up the French dictionary in my word processor, I instead opted to use an online translation program called BabelFish. It has been around since 1999 but I first came across it in 2003 when it was taken over by AltaVista, one of the original Internet search engines. Yahoo now hosts the site.

BabelFish is a reference to a fictitious animal in Douglas Adams' book, The Hitchhiker's Guide to the Galaxy. By putting this fish in your year, it can instantly translate any language into the one you understand. The website works similarly. Just type in your text in English, select the language you want the translation, and click the translate button. Presto, your text is instantly translated in another window. Most of the time, it is pretty close. Sometimes it doesn't get the correct meaning of a particular word, but that is an easy fix if you understand the language. BabelFish was a huge help to my friend's project. Too bad it wasn't completely automatic. If it was, I could copy and paste the text of the training material into the website and be done with it. Oh well, maybe in the next version.