simhash

package module
v0.0.0-...-18b6d8c Latest Latest
Warning

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

Go to latest
Published: May 31, 2017 License: MIT Imports: 2 Imported by: 0

README

gosimhash

中文simhash,使用gojieba分词

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadDictionary

func LoadDictionary(jiebapath, idfpath, stopwords string) error

load jieba, idf, stop words dictionaries

func Simhash

func Simhash(s *string, topN int) uint64

calculate simhash with top n keywords calculate with all words if topN < 0

Types

This section is empty.

Jump to

Keyboard shortcuts

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