putting the elephant in gorilla

Tuesday, March 31, 2009

iDic: The Best Japanese Dictionary for the iPhone Ever! Well... if you know how to set it up.


Ok, if you want to learn Japanese, it is going to take a lot of effort, and the most important thing is a good dictionary. This dictionary is as good as it gets. It is a bit of a process to set up, but you can do it and it will all pay off in the long run. I really want to stress that this dictionary will help you more than you can imagine, but you need to be paitent to set it up and learn how it works. There are many Japanese dictionaries for the iPhone and they all leave something to be desired. At first they may seem handy, but the more you study you will see why they don't work for you. I am not going to get into why each specific one is bad. You are just going to have to trust me.

Why is this dictionary the best?
Well, it is really a collection of several dictionaries that are all instantly accessed with one search and the dictionary has taken out all the repetitive steps that add up when you are doing hardcore studying.

Where to start? The dictionary is called iDic and it is in the iTunes app store for 600 yen (about 5 dollars). Hold on. Before you go download it, read the rest of this post.

The "dictionary" is actually a dictionary reader. It reads dictionary files, specifically, EPWING dictionary files. This is an old business standard or something that is still around. The good thing about it is that you can get dictionary readers for EPWING files for almost any kind of computer or device, so you can have the same dictionaries on your desktop or whatnot.

Just to give you an overview of what we will do. We are going to download all the dictionaries we need. Install iDic. Transfer the dictionaries to the iPhone. Set up a dictionary group so the dictionaries are in the correct order. Enable the Japanese Kana keyboard, the Traditional Chinese pad and Simplified Chinese pad, so you can write Kanji on your phone with your hand. Ok?

First an explanation of the dictionaries:
  1. Kanjidic (with stroke order): Kanjidic is a Kanji dictionary. Kanji is Chinese characters. This is a special version of Kanjidic that shows stroke order.
  2. Edict: Edict is a Japanese to English and English to Japanese dictionary with simple explanations for non-native speakers.
  3. Enamdict: This is a name dictionary. People and places. It will save your life and the lack of it in other dictionaries is a big reason why they are not very helpful.
  4. jp_examples: This is a supplemental dictionary to Edict. Edict gives one word explanations. This dictionary gives example sentences for all the words in Edict.
  5. Eijiro: The Electronic Dictionary Project. This is an often updated, broad dictionary with slang and new words which is good for showing usage. I use this when I write letters to people to look up phrases like "On the other hand."
One point about the dictionaries is that it is very beneficial to have them in this order in iDic. Take these examples:
  • If you search a kanji compound like 菜食 or something, you will get hits for Edict (simple) and then jp_examples (detailed) and then Ejiro (really detailed) in order. Since it is not only one kanji, Kanjidic will be skipped and it is not a name so Enamdict will be skipped too. So, you only get the hits you want.
  • Say you want to search 書かれた. This is a conjugated passive verb so it is complicated and will not come up if you type it all in, but if you cut it back to the first kanji 書, you will get 1. Kanjidic (with all the readings and stroke order) 2. Edict (with basic words) 3. Enamdict (if it is in names) 4. jp_examples (some detail) and 5. Ejiro (for more detail)
Basically, you can get almost everything you need from one search in almost any situation. Ok, let's put this thing together.

1. First install iDic from the iTunes store.

2. Download the dictionaries.

These dictionaries (except Eijiro)
are the intellectual property of the Electronic Dictionary Research and Development Group, under the fearless leadership of Prof. Jim Breen, at Monash University in Australia (copyright and license terms). Also, thank you to the dude who put the stroke orders in Kanjidic. I could not find who it was, but that is also from Jim Breen originally.
1. Download Kanjidic here. http://www.japaneselanguagetools.com/docs/Kanjidic.html

2-4. All these dictionaries are on Jim Breen's page.
http://ftp.monash.edu.au/pub/nihongo/00INDEX.html

edict_en.fpw.tar.gz (24967448 bytes) EDICT file converted to EPWING format by Hannes Loeffler - http://www.hloeffler.info/zaurus/. (Nov 2008)

enamdict.fpw.tar.gz (38731740 bytes) The file in EPWING format (from Hannes Loeffler - http://www.hloeffler.info/zaurus/) (March 2007)

jp_examples.fpw.tar.gz (44618204 bytes) The examples in EPWING format (from Hannes Loeffler - http://www.hloeffler.info/zaurus/) (March 2007)

5. Eijiro costs money so you need to buy it and convert it to EPWING. If you are an upper level user you need it. You can try www.alc.co.jp to test it out. This is directions to converting http://www.japaneselanguagetools.com/docs/Eijiro_to_EPWING.html
3. Import the dictionaries: Open iDic and go into "Pref." Tap "Load Dictionaries." Follow the directions on the page (use Filezilla to connect and transfer the files). It is very important that after you unzip the downloaded dictionaries that you transfer the folder that comes out as is. If you change the folder hierarchy they will not work. To clarify, before transfer, unzip the downloaded zip files. Transfer the folder that comes out of each zip file. (For Jailbroken iPhones only: you can also transfer the files by putting them in /private/var/mobile/Media/Photos/iDic/ with DiskAid, Funbox or over SSH.)

4. Put the dictionaries in order:
  1. Click done.
  2. Tap the book icon on the bottom right.
  3. Tap "edit."
  4. Tap "New Dictionary Set."
  5. Change the name to "Japanese" (or whatever you want).
  6. Tap "Edit."
  7. Tap the blue arrow next to "Japanese."
  8. Tap "Edit."
  9. Tap "Add a dictionary."
  10. Add the dictionaries in the correct order by repeating 9 and choosing the dictionaries:
  • Kanjidic
  • EDICT
  • 名辞典 (Enamdict)
  • 例文 (ex_japanese)
  • 英辞郎 (Eijiro)
Now tap "Done" and then on "Japanese"

5. Important setting in iDic: From the home in iDic tap "Pref." First, Turn "Keep keyboard" on. This will save you so much time when you want a word fast or you are doing a lot of searching. Each little step adds up. Second, this is personal preference, but I hate the extra step of deleting a word from the search box after I have already found it. If you put "Erase last text" on you won't have this problem. Although, if you want to alter a search you will have to reenter it. That can be annoying but I find that happens rarely for me. I usually get what I am looking for on the first shot.

6. Important settings in the iPhone:
  1. Push the home button.
  2. Tap "Settings."
  3. Tap "General."
  4. Tap "Keyboard."
  5. Tap "International Keyboard."
  6. Tap "Japanese."
  7. Turn "Kana" on and make sure QWERTY is off.*(see below)
  8. Tap "Keyboards."
  9. Tap "Chinese (Simplified)"
  10. Tap "Handwriting."
  11. Tap "Keyboards."
  12. Tap "Chinese (Traditional)
  13. Tap "Handwriting."
  14. Hit the home button.
* I say to turn on Kana and QWERTY off because for Japanese the QWERTY keyboard on the iPhone is not good. The English QWERTY keyboard on the iPhone corrects your mistakes if you mis-hit a key. The Japanese one does not do that so you will be correcting many mistakes. Also, Japanese is a hard language and this is a serious dictionary so, if you are going to use it you must know hiragana well. The Kana keyboard will help with that. Not to mention that it has a up, down, left, right sliding feature which makes it really efficient. All the "A" sounds are a tap. All the "i" sounds are a slide left. All the "u" sounds are a slide up. All the "e" sounds are a slide right. And all the "o" sounds are a slide down. Try it out and see.


Now about the Chinese handwriting keyboards, there is no Japanese handwriting keyboard, which sucks. I hope there will be one someday, but for now we are stuck with the Chinese ones. Japanese is made of traditional Chinese characters, simplified Chinese characters and native Japanese "Kanji." Most of them are traditional, so use the traditional keyboard. If you can't find it, switch to the simplified keyboard. If you still can't find it it is Japanese and you need to look it up in another dictionary. The iTunes store app "Wa" has a standard stroke order method dictionary in it if you need to look up a Japanese Kanji that you can't write in with the Chinese pads. I recommend that if you think you might know a Kanji try to look it up by phonetics (if you can remember) using the Kana keyboard. This trying to remember a Kanji will make you much better.


7. Extra info: If you have jailbroken your iPhone you can use the cydia app Appflow to set this dictionary to a double tap of the home button. If you study a lot or live in Japan this is handy. Having a dictionary always handy can make you better quicker.

The End: If you have made it this far, I commend you. I imagine you will become a great Japanese speaker, reader and writer. It is a long journey, but it is interesting as hell. Enjoy it. If you need any help ,send me a message and I will do what I can.

Here is some other stuff you can use with iDic (or any EPWING reader).

11 comments:

Jamie Boot said...

how do you change the order of dictionaries?

Im using a jailbroken phone and cyberduck to load the files onto the iphone

I cant seem ti change the order so kanjidic is coming last

Unknown said...

Hi, I'm Peter Rivard, the guy who put the stroke orders in Kanjidic (though the stroke order diagrams themselves are someone else's work--I couldn't track down the person who made those, but it wasn't Jim Breen). Besides Kanjidic, you can also download several other free EPWING dictionaries based on Jim Breen's Edict project stuff, including a version of Edict that's been heavily optimized to give better results when looking up English words (natively, Edict only goes the other way), plus a dictionary that shows you the conjugations of almost every verb in Edict, and lets you go the other way, too (enter a conjugated form, and it'll tell you what the base verb is and what tense of that verb it is). Those are all free, and they've all been optimized to work well in EPWING. Not free, but worthwhile, is a version of Eijiro with yomigana added for just about every word with kanji in it (also lets you look up words by reading [hiragana], which isn't possible for kanji-containing words in the regular Eijiro). Go to the Japanese Language Tools site linked in the post and use the links to look around and see what other stuff is available. I've also got links to other people's projects--there's an amazing amount of free stuff in EPWING format.

Edwin Bradford said...

This article has been a revelation for me, big thank you's. I previously used an EPWING dictionary reader on a Zaurus PDA but have just switched to iPhone as the Zaurus community is dwindling away.

On the Zaurus I had my dictionaries set up exactly as you suggest too although I don't use Enamdict as I'm outside Japan, currently studying JLPT 2.

Unfortunately iDic only worked for a few minutes before crashing and now crashes continually. I've put this down to my being on OS 3.0. I've mailed the developers (in Japanese) through their online contact form to see if its compatible but they haven't replied.

If anyone has it working on OS 3.0 please post as I'm assuming I'm doing nothing wrong having installed EPWING dictionaries several times in the past and also having briefly seen them all showing up in iDic.

In lieu of getting iDic working I'm currently using Japanese, Kotoba and Denshi Jisho (over WiFi). All of those use EDICT and KanjiDict but from my brief glimpse of iDic it seemed the most powerful.

Unknown said...

I've followed the steps and everything seems to work up until I do the search.

For some reason I can only search if I set it to "all content" rather than "prefix search" or anything else.

I've e-mailed the developer and he responded but so far no success. Anybody else had that problem?

Edwin Bradford said...

The developer has released an iPhone 3.0 compatible version which I've now got working but after spending some time with it I have to say its a bit clumsy to use.

I'm not sure if I had the same problem but I decided to uninstall it and retry in a few weeks. It doesn't seem to be either finished quality or completely working. Should really be free until then. My primary dictionary is still Kotoba.

Michael Miller said...

I've been trying to install Eijiro in to iDic but can't seem to get it working properly. What should be the extension for the converted DIC files? TXT? Nothing?

Also when I try to move my, probably slightly outdated Eijiro files over the thousands of txt files in the TEXT folder end up causing the file transfer to fail. It's probably time to hop back on to the Eijiro website and download the newest version. Although, checking out Peter's website his version definitely would have some advantages.

Unknown said...

Michael, just follow the directions in the link in the original post. After running EB Studio and then EBShrink (optional), the result will be an entire folder. That folder IS the dictionary. Do not try to open any of the files inside it with any program (doing so will corrupt them), don't rearrange or rename the files and folders inside that folder. Just put that whole folder absolutely unchanged onto your iPhone, run iDIC, and iDic will figure out what to do with it.

The solution to the text files is simple. Don't transfer them. They just show the longer passage from which certain example sentences were taken--it doesn't give you any further examples or help elucidate the word.

Michael Miller said...

Thanks for the help Peter. I'm trying to do this all on Mac so I was hoping that I had a program that would allow me to create the EPWING dictionary (http://macin.wordpress.com/category/dictionary/epwing/) but it looks like KOTONOKO is still in development and I'm not sure if it even allows for EPWING creation.

Michael Miller said...

Found another EPWING program that I'm trying to work my way through: Logophile. You can find it here: http://dicwizard.jp/logophile/ it seems to do what I need it to but it's going to take me some time to work out how to get it to work. I'll report back if I'm successful.

Unknown said...

thank you so much.

"iDic: The Best Japanese Dictionary for the iPhone Ever! Well... if you know how to set it up."

私もそう思います。本当にありがとうごさいました、とても役に立ちますね。

Darren said...

arghh...im so dead...bought the app...but i cant load the dictionaries using fillzilla cos i do not have a wifi connection...feel so frustrated :(