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

Re: [edict-jmdict] Abbreviations (Was: Combining entries)



On 07/13/2010 08:03 PM, Jean-Luc Léger wrote:
> On Tue, 13 Jul 2010 19:32:02 -0600, Stuart McGraw <smcg4191@frii.com>
> wrote:
>>> On 13 July 2010 19:03, Jean-Luc Léger <reiga@dspnet.fr.eu.org> wrote:
>>>>
>>>> Then what about making the 'abbr' tag into a kind of xref ?
>>>>
>>>> -> 2229140 アク禁 [アクきん] /(n) (comp) (col) banned from access (e.g. from
> a
>>>> web forum, etc.)/ (Abbr of アクセス禁止)/
>>>> in Jmdict :
>>>> <xref type="abbr">アクセス禁止</xref>
>>>>
>> 
>> Adding additional xref types to the database is very easy.  The only 
>> mild complication would be how to express such additional types 
>> when entering an entry in the edit form, and in xml/edict (as Jim 
>> mentions below).
> 
> How about :
> 
> edit form : [abbr=....]

The parser will need to distinguish between [abbr=<some entry>]
and the misc tag [abbr].  I don't think that will be a problem
but I wonder how scalable this scheme is if faced with an expanding
list of xref types.  An alternative might be [xref=abbr:<some entry>]
which is a syntax already accepted in the context of lsource tags,
e.g. [lsrc=fre:text], and which easily accommodates additional xref
types.  The existing [see=...] and [ant=...] tags could be kept for
backward compatibility.