Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxHunspellDictionary.NgramDistance Property

Specifies the distance between the misspelled and suggested words.

#Declaration

Delphi
property NgramDistance: Integer read; write; default 0;

#Property Value

Type Default
Integer 0

#Remarks

This property is only used by the n-gram-based algorithm.

Note the following:

  • The spell checker activates this algorithm, if the SuggestionsLiteMode property is True. If activated, the n-gram-based algorithm only searches for those suggested words that do not extend from the misspelled word for more than the value specified by the NgramDistance property.

  • If the NgramDistance property is 0, the value of 2 is implicitly used for the search.

The default value of the NgramDistance property is 0.

See Also