Theiling Online    Sitemap    Conlang Mailing List HQ   

Re: Hyperlinking a dictionary to a corpus

From:Jim Henry <jimhenry1973@...>
Date:Thursday, December 1, 2005, 16:36
On 11/30/05, Gary Shannon <fiziwig@...> wrote:

> To that end, I've written a program to create my > dictionary page and a sample sentence page from a > dictionary file and a corpus of sentences. It shows a
I'd like to do that, & I've made vague plans for it -- the script that generates the lexicon nxcgtx.htm from the tab-delimited file nxcgtx.rdb puts in id attributes on the <DT> tags so I can put in links to individual dictionary entries later, from words in the texts; and all the newer sample texts and sample sentences in the grammar documents have link anchors all over the place to be linked to from the dictionary. But actually automatically generating all those links will take a fair bit of coding. It might be easier to create a special file of just sample sentences and generate the links to that rather than try to write a script that will search the grammar, semantics and translation documents for sample sentences, find the nearest link anchor to each, and generate links to be merged with the dictionary entries for each morpheme. I'll try out some different methods, perhaps. -- Jim Henry http://www.pobox.com/~jimhenry/gzb/gzb.htm ...Mind the gmail Reply-to: field

Reply

Gary Shannon <fiziwig@...>