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)

Since:

BlackBerry 10.0.0

Arguments:

word_suggestions

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

Library:

libspellcheck_client (For the qcc command, use the -l spellcheck_client option to link against this library)

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: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus