[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [edict-jmdict] POS, etc. entities in JMdict



Le 2013-12-03 06:24, Jim Breen a écrit :
Greetings,

 Back when I developed the DTD for the XML structure of JMdict
 (in 1999) I had a fairly loose grasp of what would be done with
 entities; after all it would be a few years before anyone actually
 put together systems using it. For things like the POS codes,
 I put:

 <!ENTITY n "noun (common) (futsuumeishi)">
 and
 <!ENTITY v5k "Godan verb with `ku' ending">

 As a result of this, all over the planet there are apps displaying
 "noun (common) (futsuumeishi)" on noun entries, when "n" or "noun"
 is probably all that is needed.

 I can fix this my making it just:
 <!ENTITY n "noun">
 <!ENTITY v5k "v5k">
 and the apps will fall into line, but it really defeats the purpose
of those
 entity types. (I don't have any in kanjidic2.xml)

 Perhaps it would be best to change to:
 <pos>n</pos>, etc.

 Any comments or suggestions?


Hi Jim,

I think it was discussed a few years ago to move those entities into attributes. I don't have access to my archives but it should have been something like this :

<pos type="n" />

JL