Topic: Replacing rikaichan's EDict
- rikaichan-words.jar with English glosses removed (EDict dated 2007-07-17)
- rikaichan-words.jar with English glosses (EDict dated 2007-07-17)
- dicttool.jar for creating the above or updating your own dictionaries yourself
Instructions:
1. Replace your existing rikaichan-words.jar file from under your Firefox settings directory with the one you download from here. If you're not sure where this is, just search the files on your computer for one called rikaichan-words.jar. On mine its full path was ~/.mozilla/firefox/a53yayd2.Default User/extensions/{6D898772-AD34-4c16-86BB-9DE787A5DEA0}/chrome/rikaichan-words.jar; on yours it will probably be somewhere else.
2. Restart Firefox.
3. Enjoy furigana without glosses, or an updated dictionary! ^_^
Do-it-yourself instructions:
1. Download your favourite EDict format dictionary.
2. Convert it to UTF-8 encoding and UNIX LFs (i.e., not DOS CRLFs). [iconv is available for win32 as well; thanks, pazu!]
$ iconv -f EUC-JP -t UTF-8 < edict > edict.utf-8
3. Run dicttool on the file to generate the index file and optionally strip the glosses.
$ java -jar dicttool-0.1.jar edict.utf-8 dict.dat dict.idx [strips glosses]
$ java -jar dicttool-0.1.jar edict.utf-8 dict.idx [leaves glosses]
4. Replace the dict.* files from your existing rikaichan-words.jar archive.
$ jar xvf rikaichan-words.jar
$ cp <path to new ones>/dict.dat <path to new ones>/dict.idx content/
$ jar cvf rikaichan-words.jar content
5. Restart Firefox.
6. Enjoy updated furigana without glosses! ^_^
* I don't use Windows; I don't know how to do this in Windows, but it should be simple enough. ![]()
NB It works on my Firefox installation, but I'm not sure in general. Please let me know if it doesn't work on yours.
Last edited by Koryo (2007-07-18 08:55:01)