trgm

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2019 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HashPart added in v1.0.4

func HashPart(hash map[uint32]bool, source map[uint32]bool) float64

func HashSim added in v1.0.4

func HashSim(hash1 map[uint32]bool, hash2 map[uint32]bool) float64

func HashToList added in v1.0.4

func HashToList(hash map[uint32]bool) []uint32

func MakeTrgms added in v1.0.4

func MakeTrgms(in io.Reader) map[uint32]bool

func Sim added in v1.0.4

func Sim(txt1 io.Reader, txt2 io.Reader) float64

func UsedPart added in v1.0.4

func UsedPart(txt io.Reader, source io.Reader) float64

Types

type UintList added in v1.0.4

type UintList []uint64

func (UintList) Len added in v1.0.4

func (l UintList) Len() int

func (UintList) Less added in v1.0.4

func (l UintList) Less(i, j int) bool

func (UintList) Swap added in v1.0.4

func (l UintList) Swap(i, j int)

Jump to

Keyboard shortcuts

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