ABBYY Mobile OCR Engine 4

Go to: Contents | Native Library API Reference | Functions

FineGetWordSuggest Function

This function generates a list of suggestions for the selected word from the specified dictionary.

C Syntax
TFineErrorCode FineGetWordSuggest( 
  const TFineDictionaryPtr dictionary,
  const WCHAR              word[],
  int                      wordLength, 
  int                      stringAssurence
  CFineWordSuggestion**    suggestionBuff
);

Parameters

dictionary
[in] The address of the specified dictionary as a TFineDictionaryPtr variable.
word[]
[in] The word suggestion for which will be generated.
wordLength
[in] The number of characters in the word suggestion for which will be generated.
stringAssurence
[in] The average confidence of characters in the word. It must in the range from 0 to 100. The more this parameter, the less suggestions will be created.
suggestionBuff
[out] A pointer to pointer variable that receives the interface pointer of a CFineWordSuggestion variable which represents an array of word suggestions. This pointer must be released afterwards with the help of the FineFreeMemory function.

Return value

It returns the standard return values of ABBYY Mobile OCR Engine functions.

See also

Working with Languages
Working with Dictionaries