all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tim X <timx@nospam.dev.null>
To: help-gnu-emacs@gnu.org
Subject: Re: Can I build a dictionary in my Emacs?
Date: Sat, 28 Nov 2009 09:50:46 +1100	[thread overview]
Message-ID: <87vdgvwpix.fsf@lion.rapttech.com.au> (raw)
In-Reply-To: 4b0fb9e9$0$269$14726298@news.sunsite.dk

"Colin S. Miller" <no-spam-thank-you@csmiller.demon.co.uk> writes:

> Tim X wrote:
>>
>> Rather than build/write your own, look into emacs support for spell
>> checking and see if you can add your word definitions to that existing
>> mechanism. Less work and easier to maintain in the long-term.
>
> I think the OP wanted a dictionary that provides the definition of a word,
> not just a word-correctly-spelled-p test.
>

Thats a good point. In that case, I'd look at adding a dictionary to one
of the dict servers (don't know if the OP is on windows or Linux, but
fairly straight-forward for Linux) and then using one of the emacs
interfaces to dictionary servers. This would mean all that needs to be
done is generate the definitions file. All the interfaces are then done,
including interfaces from other things in addition to emacs. 

If that is still too far off the mark for what the OP wants, I'd
consider looking at edb or even just a simple sexp bassed structure that
can easily be read/written to a file and maybe creating an emacs forms
front-end to make querying and adding new words easy. A simple sexp
based structure will be reasonably efficient for quite a large number of
words and definitions. 

Tim


-- 
tcross (at) rapttech dot com dot au


  reply	other threads:[~2009-11-27 22:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-26  3:12 Can I build a dictionary in my Emacs? Water Lin
2009-11-26 11:00 ` Pascal J. Bourguignon
2009-11-26 11:54   ` Lennart Borgman
2009-11-26 22:14 ` Tim X
2009-11-27  8:32   ` Water Lin
2009-11-27 11:37   ` Colin S. Miller
2009-11-27 22:50     ` Tim X [this message]
2009-11-28  3:07 ` Stefan Monnier
2009-12-03 18:22   ` Drew Adams
2009-11-29  9:43 ` Andreas Röhler

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=87vdgvwpix.fsf@lion.rapttech.com.au \
    --to=timx@nospam.dev.null \
    --cc=help-gnu-emacs@gnu.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.