[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Antw: [aspell-devel] API enhancements

From: Kevin Atkinson
Subject: Re: Antw: [aspell-devel] API enhancements
Date: Sun, 22 Jun 2003 19:42:13 -0400 (EDT)

On Sat, 21 Jun 2003, Christoph Hintermueller wrote:

> >>> Andrew Dunbar <address@hidden> 21.06.03 07.40 Uhr >>>
> > To achieve this efficiently, we need to be able to ask
> > Aspell which languages it supports, this means an
> > enumeration API to return all supported language tags:
> > en, de, fr or en-US, en-GB, en-AU etc.
> As far as i have insight into aspells language mechanism there is no
> compiled in list of languages supported.

This is correct.  Nor are there any plans to.

> > We also need an API which will tell us whether a given
> > language is installed or not. Currently we can just try
> > to open each dictionary but we would prefer a less
> > expensive API which does not have to initialize an
> > entire spelling engine which is only going to be
> > destructed again.

Aspell 0.50 and better has a way to list the installed dictionaries. I 
attached the example file 'list-dicts.c' which is included in the 
examples/ directory.


Attachment: list-dicts.c
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]