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



_______________________________________________
Aspell-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/aspell-user

Reply via email to