simhash

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compare

func Compare(a uint64, b uint64) float64

func GetHash

func GetHash(text string) uint64

GetHash

Types

type Simhash

type Simhash struct {
	gdSimhash.SimhashBase
}

func NewSimhash

func NewSimhash() *Simhash

func (*Simhash) NewWordFeatureSet

func (st *Simhash) NewWordFeatureSet(b []byte) *WordFeatureSet

type WordFeatureSet

type WordFeatureSet struct {
	gdSimhash.WordFeatureSet
}

func (*WordFeatureSet) GetFeatures

func (w *WordFeatureSet) GetFeatures() []gdSimhash.Feature

Jump to

Keyboard shortcuts

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