spellcheck_get_number_of_suggestions()

Get the total number of spelling suggestions for a word.

Synopsis:

#include <spellcheck_client.h>
 
int spellcheck_get_number_of_suggestions(spellcheck_suggestions_t *word_suggestions)

Arguments:

word_suggestions

The spellcheck_suggestions_t structure from which you want to retrieve the total number of spelling suggestions.

Library:

libspellcheck_client

Description:

The spellcheck_get_number_of_suggestions() function retrieves the total number of spelling suggestion for a misspelled word from a spellcheck_suggestions_t structure.

Returns:

The total number of spelling suggestion in the spellcheck_suggestions_t structure, SPELLCHECK_FAILURE with errno set otherwise.

Last modified: 2013-12-21

comments powered by Disqus