Theiling Online    Sitemap    Conlang Mailing List HQ    Attic   

Re: Your dictionaries online!

From:Benct Philip Jonsson <bpj@...>
Date:Sunday, January 11, 2009, 18:21
taliesin the storyteller wrote:
> * Benct Philip Jonsson said on 2009-01-07 16:26:17 +0100 >> taliesin the storyteller wrote: >>> As for the actual lookup, there are so called lookup "strategies": >>> exact, prefix, substring, regular expression, soundex, levenshtein etc. >>> How easy it easy to use a specific strategy to search varies with >>> clients. >> I looked at this a bit last time it was up and if >> I understood correctly (which may well not be the case) >> the 'dictionary' is essentially a key--value hash. >> Is there any means to peep into the values when searching? >> (Even though that'd be slow of course!) > > kdict (for KDE) has a mode where it lists all possible candidates for a > search and then lets you choose, so it's client-dependent. Will that do?
sure, but is there a way to change servers in kdict without going into the settings? (Also is there a way to access the KDE help system when running KDE apps under GNOME? ;-\)
>> As it happens I've got several tsv dictionary files which >> could easily be converted to a key--value format, but would >> it be reasonably easy to populate a DICT‑dictionary from >> such a file, withouot any retyping of actual entries? > > If they are regular, and not just pretend tsv,
So little faith! Actually what do you mean by pretend?
> it is easy enough to > programmatically change them into something that is easily indexable by > the dict-tools (to build the key-value pairs that the server uses). > > dictfmt(1) is one way of making the index: > http://linux.die.net/man/1/dictfmt > It supports several formats
So it seems, and I certainly can produce something to serve it with the help of Perl.
> For TEI, there's http://wiki.tei-c.org/index.php/TEI2DICT_howto > > Dictdlib (no good online docs but there's some in the package) is a > python library to read and write dictd-files. > > > t., who has the flu and thus not so quick to answer :(
/BP, who vaccinated against the flu and then got a resistant strain of streptococci... :-P

Reply

taliesin the storyteller <taliesin-conlang@...>