Re: Automatic Interlinears
From: | Pipian <pipian@...> |
Date: | Sunday, December 19, 2004, 22:04 |
Pascal A. Kramm wrote:
> On Sat, 18 Dec 2004 13:03:40 -0800, Arthaey Angosii <arthaey@...> wrote:
>
>
>>Emaelivpeith taliesin:
>>
>>
>>>Beautiful interlinears! How'd'ya make 'em?
>>
>>Thank you! :)
>>
>>I wrote a Perl script to convert the "source" (included at the bottom
>>of each interlinear page for the curious) into HTML code. It currently
>>requires a computerized dictionary because it does all the glossing,
>>part-of-speech lookup, etc itself. Right now the script expects the
>>dictionary to be in the format I store mine in, but if others are
>>interested in using my script, I can make the dictionary look-up
>>functions plugin-able. (I'd even write plugins for anyone with a
>>consistent dictionary format, if they can't program themselves.)
>>
>>I could probably also tweak it to output empty table cells for people
>>who don't have a computerized lexicon but still like the layout
>>itself.
>>
>>So, I'd be happy to tweak and then make available my script, if
>>there's interest. :)
>
>
> Looks pretty good ideed :D
> Too bad I don't have a computerized lexicon, and just empty tables would be
> of no use to me. Guess I'll have to come up with something of my own...
I've been conversing back and forth with Arthaey, and I'm currently
working on an XML lexicon format (not explicitly for his interlinear
project) that may involve an interlinear XML format as well... The idea
behind this would be to make a nice tidy command-line lexicon manager
that would support adding and sorting lexicons automatically as well as
converting to HTML and LaTeX. I'm still polishing the XML DTD and XML
Schema, but once those are finished, I'll post them up here (or at least
summaries of them) in order to get peoples' opinions. After that I can
begin work on it.
The idea behind all this is to make it much easier to maintain lexicons
by not having to handwrite out all of the entries, as well as not having
to remember any conlang-specific collating rules by letting the Perl
script handle that for you.
Pipian