Re: General Purpose Dictionary Generator
From: | Gary Shannon <fiziwig@...> |
Date: | Monday, October 30, 2006, 2:42 |
--- Sylvia Sotomayor <terjemar@...> wrote:
> On 10/29/06, David J. Peterson <dedalvs@...> wrote:
> > Hey, I'm not sure if this is applicable, or the right place to ask
> > the question, but I'll go ahead and ask it anyway.
<snip>
> > You see that words are arranged by unicode, apparently. I
> > don't know of a way to fix it so that I can assign what gets put
> > where as far as alphabetization goes.
> >
>
> Heh. I handle alphabetization by adding a field in my database table.
> It uses a 2 digit number per letter. I have 39 letters in the Kelen
> alphabet, and most words are 7 letters or less, so I have a 14 digit
> number for each word, and that is what I sort on. Make sense?
>
> -S
> --
> Sylvia Sotomayor
> terjemar@gmail.com
> www.terjemar.net
>
Very neat solution. The HTML generator, as I've designed it so far, will allow
you to sort the incoming data on any field or fields you would like. This is
necessary in order to be able to generate two dictionaries, one in each
translation direction, and possibly even a single-language dictionary and a
thesaurus from the same lexicon file.
It might also be useful to allow users to specify the alphabetical order for
their own special set of unicode characters and sort on that sequence.
--gary
Reply