Back to Devexpress

TdxCustomSpellChecker.MetaphoneDistance Property

vcl-dxspellchecker-dot-tdxcustomspellchecker-f943dec5.md

latest1.2 KB
Original Source

TdxCustomSpellChecker.MetaphoneDistance Property

Specifies the distance between the misspelled and suggested words.

Declaration

delphi
property MetaphoneDistance: Integer read; write; default 3;

Property Value

TypeDefault
Integer3

Remarks

This property is only used by the Double Metaphone algorithm. The spell checker activates this algorithm, if the MetaphoneDistance property’s value is 2 or more.

If activated, the Double Metaphone algorithm only searches for those suggested words that do not extend from the misspelled word for more than the value specified by the MetaphoneDistance property.

The maximum allowed value of the MetaphoneDistance property is 5.

The default value of the MetaphoneDistance property is 3.

See Also

Spell-Check Algorithms

TdxCustomSpellChecker Class

TdxCustomSpellChecker Members

dxSpellChecker Unit