New user registration is currently disabled due to spam abuse / Регистрация новых пользователей в настоящее время приостановлена из-за злоупотреблений спаммерами

jmdict

All about dictionaries

jmdict

Postby zlkndu » Fri Feb 25, 2011 4:18 pm

Can someone make a script converting jmdict (jap->eng) to supported dictionary format? Or may be we can get jmdict support in goldendict?
http://www.csse.monash.edu.au/~jwb/jmdict.html
zlkndu
 
Posts: 3
Joined: Fri Feb 25, 2011 3:58 pm

Re: jmdict

Postby nonsens112 » Thu Jun 09, 2011 12:39 pm

Jp-En:
http://ko.sourceforge.jp/projects/sfnet ... Jp_En.zip/

there are also both Jp-En and En-Jp for StarDict
http://www.liquidx.net/stardict-jmdict/
but I can't make it work with GoldenDict though - it doesn't see them during scan.

anyone has idea how to add them?
nonsens112
 
Posts: 2
Joined: Thu Jun 09, 2011 12:32 pm

Re: jmdict

Postby Tvangeste » Thu Jun 09, 2011 1:27 pm


This one loads just fine.

nonsens112 wrote:there are also both Jp-En and En-Jp for StarDict
http://www.liquidx.net/stardict-jmdict/
but I can't make it work with GoldenDict though - it doesn't see them during scan.

anyone has idea how to add them?

These dictionaries missing two other files (*.ifo and *.syn). GoldenDict can't load them without such files:

Code: Select all
Stardict's dictionary reading failed: jmdict-en-ja.ifo, error: No corresponding .syn file was found for jmdict-en-ja.ifo
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am

Re: jmdict

Postby nonsens112 » Thu Jun 09, 2011 4:46 pm

thanks for reply.

created empty jmdict-en-ja.syn and the following jmdict-en-ja.ifo:
Code: Select all
StarDict's dict ifo file
version=2.4.2
wordcount=204464
synwordcount=0
idxfilesize=2392622
bookname=JMDict (En-Jp)
sametypesequence=x

now it loads and seems to be working.
nonsens112
 
Posts: 2
Joined: Thu Jun 09, 2011 12:32 pm

Re: jmdict

Postby Tvangeste » Thu Jun 09, 2011 6:19 pm

nonsens112 wrote:thanks for reply.
now it loads and seems to be working.

Excellent! The author of the dictionary probably needs to be notified about those missing files, so he could update the package.
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am

Re: jmdict

Postby ikm » Fri Jun 10, 2011 1:08 am

ikm
Автор GoldenDict
 
Posts: 1595
Joined: Wed Feb 04, 2009 10:40 am

Re: jmdict

Postby zlkndu » Sun Sep 18, 2011 9:56 am


This is good, but old jmdict snapshot and it isn't updated. Original JMdict gets new entries and corrections everyday. Comparing that to current status, JMdict has additional 10000 entries.

nonsens112 wrote:there are also both Jp-En and En-Jp for StarDict
http://www.liquidx.net/stardict-jmdict/
but I can't make it work with GoldenDict though - it doesn't see them during scan.

Those dict files are very old, about 9 years old. And the script didn't work for me.

So, I wrote a new script. It uses almost everything JMdict has (unlike previous examples ;) ) and converts to DSL.
New JMdict card in GD: http://img36.imageshack.us/img36/9900/jmdictdsl.png
Converted dsl.dz and script: http://www.megaupload.com/?d=A7OLLNRT
zlkndu
 
Posts: 3
Joined: Fri Feb 25, 2011 3:58 pm

Re: jmdict

Postby C2BlEv » Sun Sep 18, 2011 9:43 pm

zlkndu,

Thank you so much for your script. It seems that it can be used to extract not only Jap-Eng dictionary but also other languages. Could you please explain how I can use it to get a Japanese -> English + Russian dictionary?
C2BlEv
Модератор
 
Posts: 215
Joined: Tue May 05, 2009 3:45 pm

Re: jmdict

Postby zlkndu » Mon Sep 19, 2011 9:59 am

JMdict is mainly Jp->Eng dictionary. Trying to get anything else comes with flaws, namely all special information associated with translations describes english part. If you don't mind that:

1) Replace line 23
Code: Select all
self.__skipflag = False

with
Code: Select all
self.__skipflag = True


2) Replace lines 38,39
Code: Select all
elif name == 'gloss' and attrs['xml:lang'] != 'eng':
    self.__skipflag = True

with
Code: Select all
elif name == 'gloss' and (attrs['xml:lang'] == 'eng' or attrs['xml:lang'] == 'rus'):
    self.__skipflag = False


This will display russian translations among english words.
zlkndu
 
Posts: 3
Joined: Fri Feb 25, 2011 3:58 pm

Re: jmdict

Postby wilo108 » Wed Jun 25, 2014 7:07 am

I found this great version here: http://simonwiles.net/projects/jmdict/.
wilo108
 
Posts: 5
Joined: Sun Feb 26, 2012 9:24 am


Return to Dictionaries

Who is online

Users browsing this forum: No registered users and 2 guests

cron