simdict

package
v0.0.0-...-53d0996 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Normalize

func Normalize(str string) (string, error)

Types

type LSHIndex

type LSHIndex struct {
	// contains filtered or unexported fields
}

func NewLSHIndex

func NewLSHIndex(numBands, rowsPerBand int) *LSHIndex

func (*LSHIndex) Add

func (l *LSHIndex) Add(id string, signature []uint32) error

func (*LSHIndex) Query

func (l *LSHIndex) Query(signature []uint32) ([]string, error)

type LSHManager

type LSHManager struct {
	// contains filtered or unexported fields
}

func NewLSHManager

func NewLSHManager() *LSHManager

func (*LSHManager) ProcessAndAssign

func (m *LSHManager) ProcessAndAssign(docID string) (string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL