Versions in this module Expand all Collapse all v0 v0.1.2 Dec 8, 2018 v0.1.1 Dec 8, 2018 v0.1.0 Dec 8, 2018 Changes in this version + const MaxInt + func LogMatrix(pattern []rune, text []rune, matrix [][]int) + func WriteMatrix(pattern []rune, text []rune, matrix [][]int, writer io.Writer) + type Candidate struct + Dist int + Start int + SubseqIndex int + type Match struct + Dist int + End int + Start int + func FindNearMatches(subsequence string, sequence string, maxLDist int) []Match + func FuzzyFindPigeon(pattern string, text string, maxE int, op Options) ([]Match, error) + func FuzzyFindShort(pattern string, text string, maxE int, op Options) ([]Match, error) + type MatchFunction func(rune, rune) bool + type Options struct + DelCost int + InsCost int + Matches MatchFunction + SubCost int + var DefaultOptions Options = Options{ ... }