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

Re: Sentence example indices - projected change



On Wed, 21 Aug 2019 at 13:41, Jim Breen <jimbreen@gmail.com> wrote:
> To handle this situation, I propose to add an additional field when
> needed to the indexing information in the examples file. This will
> consist of the JMdict sequence number of the entry.  For a
> reference to スカル/scull the index would be スカル#1067710 and
> for スカル/skull it would be スカル#2841243.

A tiny update. The format I find easiest to implement in WWWJIC
is スカル(#1067710) and スカル(#2841243). That way it gets
handled by most of the existing code as if it were a regular
disambiguation using 読み方. I only had to add about 10 lines of C
to get it working.

If you're keen to see it working with ラップ, my testbed version is at:
https://www.edrdg.org/cgi-bin/wwwjdic/wwwjdic2?1MDJ%A5%E9%A5%C3%A5%D7

Jim

-- 
Jim Breen
Adjunct Snr Research Fellow, Japanese Studies Centre, Monash University
http://www.jimbreen.org/
http://nihongo.monash.edu/