minhash

package module
v0.0.0-...-80ec78e Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2014 License: MIT Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

minhash

b-bit minhash implementation for golang

Requirements

  • golang

Installation

go get github.com/y-matsuwitter/minhash

Usage

minhash.Minhash([]string{
    "21", "歳", "ビール", "飲む", "アサヒ", "リクルート", "連携",
    }, []string{
    "21", "歳", "ビール", "無料", "アサヒ", "若者", "向け", "企画",
    })

Author

Yuki Matsumoto (@y_matsuwitter)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Minhash

func Minhash(v1, v2 []string) float32

func MinhashFromSignature

func MinhashFromSignature(sig1, sig2 *big.Int) float32

func Murmurhash3_32

func Murmurhash3_32(key string, seed uint32) uint32

func Signature

func Signature(data []string) *big.Int

Types

This section is empty.

Jump to

Keyboard shortcuts

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