aspell-devel
[Top][All Lists]
Advanced

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

Re: [aspell-devel] aspell C API


From: Kevin Atkinson
Subject: Re: [aspell-devel] aspell C API
Date: Tue, 19 Oct 2004 16:14:39 -0600 (MDT)

On Tue, 19 Oct 2004, Justin Ryan wrote:

> The most outstanding example that I see is the DocumentSpeller.  I was 
> originally planning to write something like this in python, but now 
> hope to make yours available to python.  I noticed some other 
> undocumented structures which seemed as if they may be internally used 
> by AspellSpeller, AspellConfig, and DocumentSpeller, i.e.:

If it is in the "aspell.h" header file than it is fair fell free to use 
it as it is part of the public interface.  Internal structures and such are 
not exported via the "aspell.h" header file.

> In any case, I thought that perhaps you guys could extend me a small 
> bit of help - at least with the DocumentSpeller class.  Also, I'm not 
> sure why - but if I try to do anything with the return values of:
> 
>    aspell_speller_store_replacement()
>    aspell_speller_add_to_personal()
>    aspell_speller_add_to_session()
> 
> Python dies with a Bus Error.  For the time being, I am discarding the 
> return - but that just feels like bad news. ;)

I really don't know why also as the return value is just an int to 
indicate if the operation was successful.

> If you could clear up a few minor points for me, I may be able (and am 
> definitely willing!) to help extend the documentation for aspell.  I 
> was also planning on writing a paper or article of some sort on the 
> trials and tribulations of developing this module. ;)

I will gladly expect patched to the documentations.  Just be sure you modify 
the texinfo source (*.texi).


> pyaspell should be hosted at savannah soon, but the latest source can 
> be found at http://jryan.gerf.org/pyaspell-0.5.tbz2.

-- 
http://kevin.atkinson.dhs.org





reply via email to

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