{"id":22401922,"url":"https://github.com/dearmadman/minhash","last_synced_at":"2025-03-27T00:27:35.595Z","repository":{"id":77658463,"uuid":"178632982","full_name":"DearMadMan/minhash","owner":"DearMadMan","description":"An implementation of the minhash algorithm in golang","archived":false,"fork":false,"pushed_at":"2019-07-09T09:44:50.000Z","size":3,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T06:14:52.614Z","etag":null,"topics":["go-minhash","golang","minhash"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DearMadMan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-31T02:21:08.000Z","updated_at":"2019-12-17T15:11:58.000Z","dependencies_parsed_at":"2023-06-18T19:56:30.606Z","dependency_job_id":null,"html_url":"https://github.com/DearMadMan/minhash","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DearMadMan%2Fminhash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DearMadMan%2Fminhash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DearMadMan%2Fminhash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DearMadMan%2Fminhash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DearMadMan","download_url":"https://codeload.github.com/DearMadMan/minhash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245758665,"owners_count":20667559,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go-minhash","golang","minhash"],"created_at":"2024-12-05T09:09:35.727Z","updated_at":"2025-03-27T00:27:35.575Z","avatar_url":"https://github.com/DearMadMan.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[Minhashing](https://en.wikipedia.org/wiki/MinHash) is an efficient similarity estimation technique that is often used to identify near-duplicate documents in large text collections. This package offers a Golang implementation of the minhash algorithm.\n\n## Usage\n\n```go\n\tm := minhash.New(128)\n\tset1 := m.NewSet([]string{\n\t\t\"minhash\", \"is\", \"a\", \"probabilistic\", \"data\", \"structure\", \"for\",\n\t\t\"estimating\", \"the\", \"similarity\", \"between\", \"datasets\",\n\t})\n\n\tset2 := m.NewSet([]string{\n\t\t\"minhash\", \"is\", \"a\", \"probability\", \"data\", \"structure\", \"for\",\n\t\t\"estimating\", \"the\", \"similarity\", \"between\", \"documents\",\n\t})\n\n\tset3 := m.NewSet([]string{\n\t\t\"cats\", \"are\", \"tall\", \"and\", \"have\", \"been\",\n\t\t\"known\", \"to\", \"sing\", \"quite\", \"loudly\",\n\t})\n\n\tfmt.Printf(\"set1 \u0026 set2: %f\\n\", set1.Jaccard(set2))\n\tfmt.Printf(\"set1 \u0026 set3: %f\\n\", set1.Jaccard(set3))\n\tfmt.Printf(\"set2 \u0026 set3: %f\\n\", set2.Jaccard(set3))\n```\n\n## References\n\n[duhaime/minhash](https://github.com/duhaime/minhash)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdearmadman%2Fminhash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdearmadman%2Fminhash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdearmadman%2Fminhash/lists"}