ImageGear .NET v24.12 - Updated
WordSuggestions Property




ImageGear24.Recognition Assembly > ImageGear.Recognition Namespace > ImGearRecLetter Class : WordSuggestions Property
Gets a collection that contains all of the possible word suggestions for the current word to which this ImGearRecLetter belongs.
Syntax
'Declaration
 
Public ReadOnly Property WordSuggestions As ReadOnlyCollection(Of String)
'Usage
 
Dim instance As ImGearRecLetter
Dim value As ReadOnlyCollection(Of String)
 
value = instance.WordSuggestions
public ReadOnlyCollection<string> WordSuggestions {get;}
public: __property ReadOnlyCollection<string*>* get_WordSuggestions();
public:
property ReadOnlyCollection<String^>^ WordSuggestions {
   ReadOnlyCollection<String^>^ get();
}

Property Value

ReadOnlyCollection value.
Remarks

Word suggestions will only be available from the first letter of a word. Consecutive words can have the same suggestions, which is the case when the suggestion combines two or more space-separated words into a single one without spaces. For example, the consecutive words "Image" and "Gear" might both have word suggestions of "ImageGear" and "Image Gear" if the space between the words is not sufficient enough to confidently determine the word breaks. Words recognized with high confidence will typically not have any word suggestion values in which case an empty collection is returned. Letters containing spaces will never have word suggestions and always return an empty collection.

In general, this property will only contain word suggestions if the WordUncertain property is true, or if letters within a word are recognized with low confidence. In this case, the word suggestions will include each alternate character of the low confidence letters.

This is a read-only property. If the ImGearRecPage.SetLetters method is called with an array of ImGearRecLetter class objects that has been modified, this property will be cleared after the subsequent call to ImGearRecPage.Recognize.

See Also

Reference

ImGearRecLetter Class
ImGearRecLetter Members
SetLetters Method