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

Re: [edict-jmdict] jmdict language tags (was: Enhancements to the English translations)



Hi,

On Wed, Apr 25, 2007 at 08:08:40PM +1000, Jim Breen wrote:
> >  <lsource ls_part="ウレタン" xml:lang="de">Urethan</lsource>
> >  <lsource ls_part="ゴム" xml:lang="nl">gom</lsource>
> 
> I don't like putting data into attributes (and I think it's usually
> frowned on).

no problem with that. In fact, I don't care about the xml format, as long as
all infos are there.

> If we are going to state the gairaigo components explicitly (and I'm
> not totally sure it's necessary), I'd suggest using child elements:
> 
> <lsource ls_type="part" xml:lang="de">
>     <j_part>ウレタン</j_part>
>     <s_part>Urethan</s_part>
> </lsource>
> <lsource ls_type="part" xml:lang="de">
>     <j_part>ゴム</j_part>
>     <s_part>gom</s_part>
> </lsource>
> 

Well, that kind of data can be stored in the database, even if the jmdict
file doesn't show them.
About the jmdict file, is it used by any known application ?

	JL