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: Bill Moseley
Subject: Re: [aspell-devel] Aspell C API
Date: Fri, 8 Aug 2003 15:23:02 -0700
User-agent: Mutt/1.5.4i

On Fri, Aug 08, 2003 at 10:26:39AM -0700, Ozgun Erdogan wrote:
> 
> I was reading the documentation for Aspell C API, and in section 6.1.1, it 
> says:
> 
> >> .. To do spell check, use the function:
> 
> int correct = aspell_speller_check(spell_checker, <word>, <size>);
> 
> What if I'd like to pass in more than one word into the list? Is there any 
> way to do that? Or do I have to parse the document myself and pass in the 
> words one by one? In that case, wouldn't that cause performance problems?

I just asked something similar the other day.

I would assume that at a low level Aspell has to lookup words, so that 
API is accessing that feature.

Is it a performance problem?  Well, some code has to split the text, so 
the question is what is faster:  your code or Aspell's code.  Might be 
worth doing some benchmarking of your code to split the text vs. using a 
pipe to the aspell binary.

My question the other day was if there was an API to the code that
splits the text (so you could pass in a string of words).




-- 
Bill Moseley
address@hidden





reply via email to

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