Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlgorithmOptions ¶
type AlgorithmOptions struct {
Algorithm *string
}
type Comparer ¶
func New ¶
func New(algoOpts *AlgorithmOptions, lookbackOpts *LookBackOptions, tokenizerOpts *tokenizers.TokenizerOptions, similarity float64, stats *Stats) Comparer
type ListWindow ¶
type ListWindow struct {
// contains filtered or unexported fields
}
func (*ListWindow) Add ¶
func (w *ListWindow) Add(item interface{})
func (*ListWindow) Front ¶
func (w *ListWindow) Front() *list.Element
func (*ListWindow) Promote ¶
func (w *ListWindow) Promote(e *list.Element)
type LookBackOptions ¶
type LookBackOptions struct {
Lookback *int
}
type NewWordCompare ¶
type NewWordCompare struct {
// contains filtered or unexported fields
}
func (*NewWordCompare) Compare ¶
func (n *NewWordCompare) Compare(in string) bool
type SetCompare ¶
type SetCompare struct {
// contains filtered or unexported fields
}
func (*SetCompare) Compare ¶
func (s *SetCompare) Compare(in string) bool
Click to show internal directories.
Click to hide internal directories.