Re: reading a hash
- From: ibmichuco@xxxxxxxxxxx
- Date: 28 Nov 2005 21:30:15 -0800
Hi,
I am writing a perl script to handle dictionary data. The data file has
the general format:
Haus [m, "er] :: house : home : theatre ::: das Haus Gottes :: the
house of God : schon dreissig, und er wohnt noch zu Hause :: he is 30
and still lives at home.
My hash keys are the german entries, which are unique. Each entry can
have one or more definitions in english (::) separated by (:). The
second part of the entry (:::) has one or more examples (:) with the
corresponding english translations (::). As I mentioned in the original
post, I can access the simplest dictionary with the two-field
one-entry-many-definitions format. It's the additional examples that
are giving me problem.
One possible application is a flash card program where the queue would
be a random entry. The examples can serve as hints and the definitions
can be used in some fuzzy match. I thought this would be a nice example
to housebreak me in Perl-tk.
Appologies for not having explained this clearer.
Michuco
.
- Follow-Ups:
- Re: reading a hash
- From: usenet
- Re: reading a hash
- References:
- reading a hash
- From: ibmichuco
- Re: reading a hash
- From: usenet
- reading a hash
- Prev by Date: Re: reading a hash
- Next by Date: help about regex matching
- Previous by thread: Re: reading a hash
- Next by thread: Re: reading a hash
- Index(es):