duplicateremover

package
v0.0.0-...-c0f943f Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CombineTwoFolderCounts

func CombineTwoFolderCounts(mA, mB map[string]map[string]float64, threshold float64)

func CopyFile

func CopyFile(src string, dest string) error

func GenerateCountForData

func GenerateCountForData(s *string) map[string]float64

func GenerateCountForFile

func GenerateCountForFile(fileName string) (map[string]float64, error)

func GenerateCountForFolder

func GenerateCountForFolder(folder string) (map[string]map[string]float64, error)

func JaccardSimilarity

func JaccardSimilarity(a, b map[string]float64) float64

func RemoveDuplicate

func RemoveDuplicate(m map[string]map[string]float64, threshold float64)

func RemoveDuplicates

func RemoveDuplicates(folders []string, destFolder string, threshold float64) error

func WriteFilesToNewFolder

func WriteFilesToNewFolder(m map[string]map[string]float64, destFolder string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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