Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LevenshteinDistance ¶
LevenshteinDistance computes the byte-based edit distance between two strings.
func LineSimilarity ¶
LineSimilarity returns the normalized byte-based Levenshtein similarity of two lines after trimming surrounding whitespace.
func NumberedLineRange ¶
NumberedLineRange extracts a one-indexed inclusive line range and prefixes line numbers.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.