Versions in this module Expand all Collapse all v0 v0.1.1 Sep 30, 2026 v0.1.0 Jul 27, 2026 Changes in this version + const PipelineVersion + func Distance(a, b Fingerprint) int + func Normalize(text string) string + type Feature struct + Hash uint64 + Weight int + type Featurizer struct + CharN int + WordN int + func Default() Featurizer + func (f Featurizer) Features(text string) []Feature + func (f Featurizer) Of(text string) Fingerprint + type Fingerprint uint64 + func Sum(features []Feature) Fingerprint + func (a Fingerprint) Near(b Fingerprint, k int) bool + func (a Fingerprint) String() string + type Index struct + func LoadIndex(r io.Reader) (*Index, error) + func NewIndex(k int) *Index + func (ix *Index) Add(id string, fp Fingerprint) + func (ix *Index) Clusters(k, min int) [][]string + func (ix *Index) K() int + func (ix *Index) Len() int + func (ix *Index) Near(fp Fingerprint, k int) []Match + func (ix *Index) Save(w io.Writer) error + type Match struct + Distance int + Fingerprint Fingerprint + ID string