From: "Alan E. Davis" <lngndvs@gmail.com>
To: Soichi Ishida <soujiro0725@gmail.com>,
help-gnu-emacs@gnu.org, Thien-Thi Nguyen <ttn@gnuvola.org>
Subject: Re: local database types for personal use
Date: Sun, 22 Jan 2012 07:51:16 -0800 [thread overview]
Message-ID: <CAF-1L2R9N=jFczVh-LeAcnJmKqOUumqSJWH4bjqRAeRvNgOh3w@mail.gmail.com> (raw)
In-Reply-To: <CAF-1L2R-nPZ+eER97edTb-MS8_SA5ppKk0nZcj77gYgo+pV1dQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2391 bytes --]
Did you find a format amenable to your needs?
I had intended to send this short example of band format some months
ago. Ban format is perfect for what you are doing. You can write simple
utility routines to search or sort the database.
Two entries in band format follow. A record does not need to occupy on
line. "..hw" always begins a new record:
..hw lun kaeja .gs .ge Jellyfish (secondary etc names describe the
specific type) .ec Jellyfish .cg cnidaria .la Mokil .src .n Father of
a student .dt [2010-08-27 Fri]
..hw lagong .gs .ge Big, green fly .ec .cg Insect .la Cebuano .src
FSD .n came up as an exception to the general name for fly. .dt
[2010-06-11 Fri]
.. begins a record
..hw headword tag
.gs Scientific Name
.ge English gloss
.ec English common name
.cg catagory
.la language
..src Source
.dt date
I wrote some little macros / routines that converted a record into a
typeset dictionary in LaTeX. A frontend, as it were. Each tag is typeset
in a distinct font. Robert Hsu who was at the University of Hawaii
linguistics department in the 90s, wrote a spitbol/snobol4 package for
manipulating data in band format, used in producing several dictionaries of
several pacific languages. Others have developed band formats distinct
from this one.
Alan
On Mon, Dec 26, 2011 at 11:08 AM, Alan E. Davis <lngndvs@gmail.com> wrote:
> Band format is a free-form format used in linguistics for lexical data.
>
> The following is from a google search.
>
>
> http://billposer.org/Linguistics/Computation/LectureNotes/ParsingLexica.html
>
> I have used my own version of this format for a lexicon. If you wish, I
> can spend more time explaining how ti did it.
>
> Basically, each "field" is marked by a dot and one or more letters. Two
> dots mark the beginning of a record.
>
> ..hw means "headword" (use anything you want)
> .d could mean date
> .ge could mean "english gloss"
> .gd could mean "dutch gloss"
> .p could mean part of speech.
>
> Two spaces preceed each .X
>
> New categories can be made up on the fly.
>
> Alan Davis
>
>
> On Sun, Dec 25, 2011 at 5:57 PM, Thien-Thi Nguyen <ttn@gnuvola.org> wrote:
>
>> () Soichi Ishida <soujiro0725@gmail.com>
>> () Mon, 26 Dec 2011 10:47:58 +0900
>>
>> I have totally forgotten EBD :)
>>
>> What if I have more than one table?
>>
>> Then your forgetfulness is ideal.
>>
>>
>
[-- Attachment #2: Type: text/html, Size: 3346 bytes --]
next prev parent reply other threads:[~2012-01-22 15:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-26 0:42 local database types for personal use ishi soichi
2011-12-26 1:37 ` Thien-Thi Nguyen
2011-12-26 1:47 ` Soichi Ishida
2011-12-26 1:57 ` Thien-Thi Nguyen
2011-12-26 19:08 ` Alan E. Davis
2012-01-22 15:51 ` Alan E. Davis [this message]
2012-01-25 6:44 ` ishi soichi
2012-01-22 1:30 ` Samuel Wales
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAF-1L2R9N=jFczVh-LeAcnJmKqOUumqSJWH4bjqRAeRvNgOh3w@mail.gmail.com' \
--to=lngndvs@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=soujiro0725@gmail.com \
--cc=ttn@gnuvola.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.