Re: Hyperlinking a dictionary to a corpus
From: | Carsten Becker <naranoieati@...> |
Date: | Friday, December 2, 2005, 21:58 |
On Thu, 01 Dec 2005, 12:43 CET, Gary Shannon 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
> maximum of 20 sample sentences (number is adjustable)
> for a given word and the newer sentences push older
> ones out of sight as time goes on, so that the sample
> sentences continue to represent the most current usage
> patterns.
I haven't had a look at your dictionary yet, but do you
think that will be possible to program as well using a MySQL
database and PHP? It sounds like a nifty idea. How does the
program know, though, how to assemble example sentences?
I.e. AFAIU your Elomi is isolating and rather simplistic
(at least it seems so at first sight), but what about
more complex agglutinating or even inflecting languages?
To link words in example sentences, you'd need a script that
would split at *morpheme* boundaries and when the respective
morpheme already exists in the dictionary, a link to this
one is provided. Well, but I quite don't know how to tell a
program how to split on morpheme boundaries the way the
sentence is meant ... for example, when there's a prefix
_a-_ and there are words beginning with _a_, all first a's
of such words would be linked to the entry for that prefix
...
Carsten
--
Keywords: dictionary, programming
"Miranayam cepauarà naranoaris."
(Calvin nay Hobbes)
Replies