Method

SpellingCheckerlist_corrections

Declaration [src]

char**
spelling_checker_list_corrections (
  SpellingChecker* self,
  const char* word
)

Description [src]

Retrieves a list of possible corrections for word.

Parameters

word const char*
 

A word to be checked.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.

Return value

Returns: An array of char*
 

A list of possible corrections, or NULL.

 The array is NULL-terminated.
 The caller of the method takes ownership of the data, and is responsible for freeing it.
 The return value can be NULL.
 Each element is a NUL terminated UTF-8 string.