consider_transpositions property

consider_transpositions property

The property indicates whether the spelling correction algorithm treats the transposition of two adjacent characters as a single mistake.

The default value is True.

Definition:

@property
def consider_transpositions(self):
    ...
@consider_transpositions.setter
def consider_transpositions(self, value):
    ...

See Also