aspell-user
[Top][All Lists]
Advanced

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

Re: [Aspell-user] aspell_speller_add_to_personal() doesn't accept hyphen


From: Kevin Atkinson
Subject: Re: [Aspell-user] aspell_speller_add_to_personal() doesn't accept hyphens
Date: Sun, 14 Aug 2005 22:48:23 -0600 (MDT)

On Mon, 15 Aug 2005, Michael Bunk wrote:

> But its documentation in aspell.h is confusing (besides being misspelled :):
> 
> /* process a string                                                           
>                       
>  * The string passed in should only be split on white space                   
>                       
>  * characters.  Furthermore, between calles to reset, each string             
>                       
>  * should be passed in exactly once and in the order they appeared            
>                       
>  * in the document.  Passing in stings out of order, skipping                 
>                       
>  * strings or passing them in more than once may lead to undefined            
>                       
>  * results. */                                                                
>                       
> void aspell_document_checker_process(struct AspellDocumentChecker * ths, 
> const 
> char * str, int size)
> 
> Does it mean I have to split my string to be checked at white space before 
> passing in the pieces to this function? Or does it mean that this function 
> usually only splits at white space?

See check_document in examples/example-c.c for a usage example.

All it means is that you should't split a line up in the middle of the 
word for example "don" "'t" "do th" "is".

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





reply via email to

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