Versions in this module Expand all Collapse all v0 v0.2.0 Jul 30, 2026 v0.1.0 Jul 28, 2026 Changes in this version + func Containment(a, b string) float64 + func Similarity(a, b string) float64 + type Config struct + Bands int + K int + Rows int + Seed uint64 + W int + func Defaults() Config + type Sketcher struct + func NewSketcher(cfg Config) *Sketcher + func (s *Sketcher) Config() Config + func (s *Sketcher) Containment(a, b string) float64 + func (s *Sketcher) NewIndex() *lsh.Index + func (s *Sketcher) NewStream() *Stream + func (s *Sketcher) NewVerifiedIndex() *lsh.VerifiedIndex + func (s *Sketcher) Similarity(a, b string) float64 + func (s *Sketcher) Sketch(text string) minhash.Signature + func (s *Sketcher) SketchBytes(b []byte) minhash.Signature + func (s *Sketcher) SketchInto(dst minhash.Signature, text string) + func (s *Sketcher) SketchIntoBytes(dst minhash.Signature, b []byte) + type Stream struct + func (st *Stream) Reset() + func (st *Stream) Signature() minhash.Signature + func (st *Stream) Write(p []byte) (int, error) + func (st *Stream) WriteString(text string) (int, error)