From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ishi soichi Newsgroups: gmane.emacs.help Subject: Re: local database types for personal use Date: Wed, 25 Jan 2012 15:44:42 +0900 Message-ID: References: <87hb0oi049.fsf@ambire.localdomain> <87d3bchz76.fsf@ambire.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=90e6ba21223b3e9fd604b7549925 X-Trace: dough.gmane.org 1327473906 29157 80.91.229.12 (25 Jan 2012 06:45:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 25 Jan 2012 06:45:06 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, Thien-Thi Nguyen , Soichi Ishida To: "Alan E. Davis" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 25 07:45:01 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RpwbM-0000ML-Rt for geh-help-gnu-emacs@m.gmane.org; Wed, 25 Jan 2012 07:45:01 +0100 Original-Received: from localhost ([::1]:51273 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpwbJ-0004mJ-7g for geh-help-gnu-emacs@m.gmane.org; Wed, 25 Jan 2012 01:44:57 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:45110) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpwbC-0004ly-KA for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 01:44:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rpwb7-0005jn-IW for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 01:44:50 -0500 Original-Received: from mail-iy0-f169.google.com ([209.85.210.169]:57608) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rpwb7-0005jb-80 for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 01:44:45 -0500 Original-Received: by iadk27 with SMTP id k27so2515182iad.0 for ; Tue, 24 Jan 2012 22:44:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=pIKRMGO006njHpozWWuJvQWSCsWTfLtWyr3PnAQ0crc=; b=KvB1bIjdASCXeGT0Sx95ju4l0lOocPYyTTYUPxjtJhSOsFH8LtmNoZh3WY3i5yUSkU sgtDKIpRFsfxo5UELrmjZuBU1rT3QleKVbdS6nc/uE5Hd7tM8cCnrJ/9fZVHVB2thfVa RGZLztkAbZJF3xqKGKGQKRFKf2fHYDlcdO7kM= Original-Received: by 10.42.135.138 with SMTP id p10mr13725395ict.25.1327473882996; Tue, 24 Jan 2012 22:44:42 -0800 (PST) Original-Received: by 10.42.149.134 with HTTP; Tue, 24 Jan 2012 22:44:42 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.210.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83551 Archived-At: --90e6ba21223b3e9fd604b7549925 Content-Type: text/plain; charset=ISO-8859-1 Thanks for the info! I will check it out. soichi 2012/1/23 Alan E. Davis > 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 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 wrote: >> >>> () Soichi Ishida >>> () 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. >>> >>> >> > --90e6ba21223b3e9fd604b7549925 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks for the info!
I will check it out.

soic= hi

2012/1/23 Alan E. Davis <lngndvs@gmail.com>
Did you find a format amenable to your needs= ?=A0=A0

I had intended to send this short example of band format so= me months ago.=A0=A0=A0 Ban format is perfect for what you are doing.=A0 Yo= u can write simple utility routines to search or sort the database.=A0

Two entries in=A0 band format follow.=A0 A record does not need to occu= py on line.=A0 "..hw" always begins a new record:

..hw lun= kaeja=A0 .gs=A0=A0 .ge Jellyfish (secondary etc names describe the specifi= c type)=A0 .ec Jellyfish=A0 .cg cnidaria=A0 .la Mokil=A0 .src=A0 .n Father = of a student=A0=A0 .dt [2010-08-27 Fri]

..hw lagong=A0 .gs=A0=A0 .ge Big, green fly=A0 .ec=A0=A0 .cg Insect=A0 = .la Cebuano=A0 .src FSD .n came up as an exception to the general name for = fly.=A0=A0 .dt [2010-06-11 Fri]

.. begins a record
..hw=A0 headword tag
.gs=A0 Scientific Name .ge=A0 English gloss
.ec=A0 English common name
.cg=A0 catagory .la=A0 language
..src=A0 Source
.dt=A0 date

I wrote some lit= tle macros / routines that converted a record into a typeset dictionary in = LaTeX.=A0 A frontend, as it were.=A0 Each tag is typeset in a distinct font= .=A0 Robert Hsu who was at the University of Hawaii linguistics department = in the 90s, wrote a spitbol/snobol4 package for manipulating data in band f= ormat, used in producing several dictionaries of several pacific languages.= =A0 Others have developed band formats distinct from this one.=A0

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.=A0= =A0

The following is=A0 from a google search.

http://billposer.org/Linguistics/Computation/LectureNotes= /ParsingLexica.html

I have used my own version of this format for a lexicon.=A0 If you wish= , I can spend more time explaining how ti did it.

Basically, each &q= uot;field" is marked by a dot and one or more letters.=A0 Two dots mar= k the beginning of a record.

..hw=A0 means "headword"=A0 (use anything you want)
.d=A0= =A0=A0 could mean date
.ge=A0 could mean "english gloss"
.g= d=A0 could mean "dutch gloss"
.p=A0=A0=A0 could mean part of s= peech.

Two spaces preceed each .X=A0

New categories can be made up on the fly.=

Alan Davis


On Sun, Dec 25, 2011 at 5:57 PM, Thien-Thi Nguyen <<= a href=3D"mailto:ttn@gnuvola.org" target=3D"_blank">ttn@gnuvola.org>= wrote:
() Soichi Ishida <soujiro0725@gmail.com>
() Mon, 26 Dec 2011 10:47:58 +0900

=A0 I have totally forgotten EBD :)

=A0 What if I have more than one table?

Then your forgetfulness is ideal.




--90e6ba21223b3e9fd604b7549925--