Documentation ¶
Index ¶
- Variables
- type Sax
- func (self *Sax) BatchCompare(xStrings []string, refString string) []float64
- func (self *Sax) CompareStrings(list_letters_a, list_letters_b []byte) (float64, error)
- func (self *Sax) SetScalingFactor(scalingFactor float64)
- func (self *Sax) SetWindowSize(windowSize int)
- func (self *Sax) SlidingWindow(x []float64, numSubsequences int, overlappingFraction float64) (string, [][]int, error)
- func (self *Sax) ToLetterRepresentation(x []float64) (string, [][]int)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDictionarySizeIsNotSupported = errors.New("Dictionary size not supported")
View Source
var ErrOverlapSpecifiedIsNotSmallerThanWindowSize = errors.New("OverlapSpecifiedIsNotSmallerThanWindowSize")
View Source
var ErrStringsAreDifferentLength = errors.New("StringsAreDifferentLength")
Functions ¶
This section is empty.
Types ¶
type Sax ¶
type Sax struct {
// contains filtered or unexported fields
}
func (*Sax) BatchCompare ¶
func (*Sax) CompareStrings ¶
Compares two strings based on individual letter distance Requires that both strings are the same length
func (*Sax) SetScalingFactor ¶
func (*Sax) SetWindowSize ¶
func (*Sax) SlidingWindow ¶
Click to show internal directories.
Click to hide internal directories.