package
9.3.0+incompatible
Repository: https://github.com/src-d/hercules.git
Documentation: pkg.go.dev

# Constants

ConfigTyposDatasetMaximumAllowedDistance is the name of the configuration option (`TyposDatasetBuilder.Configure()`) which sets the maximum Levenshtein distance between two identifiers to consider them a typo-fix pair.
DefaultMaximumAllowedTypoDistance is the default value of the maximum Levenshtein distance between two identifiers to consider them a typo-fix pair.

# Structs

Typo carries the information about a typo-fix pair.
TyposDatasetBuilder collects pairs of typo-fix in source code identifiers.
TyposResult is returned by TyposDatasetBuilder.Finalize() and carries the found typo-fix pairs of identifiers.