{"id":20977083,"url":"https://github.com/marcnuth/deduplication","last_synced_at":"2025-05-14T14:31:57.669Z","repository":{"id":62567351,"uuid":"203098385","full_name":"Marcnuth/deduplication","owner":"Marcnuth","description":"Remove duplicate documents/videos/images via popular algorithms such as SimHash, SpotSig, Shingling, etc.","archived":false,"fork":false,"pushed_at":"2023-08-28T09:43:09.000Z","size":23,"stargazers_count":16,"open_issues_count":2,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-15T09:52:19.745Z","etag":null,"topics":["algorithms","cv","deduplication","google","imagehash","shingling","simhash"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Marcnuth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-08-19T04:30:19.000Z","updated_at":"2024-10-17T05:43:11.000Z","dependencies_parsed_at":"2024-11-19T02:01:41.082Z","dependency_job_id":null,"html_url":"https://github.com/Marcnuth/deduplication","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/Marcnuth%2Fdeduplication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marcnuth%2Fdeduplication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marcnuth%2Fdeduplication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marcnuth%2Fdeduplication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Marcnuth","download_url":"https://codeload.github.com/Marcnuth/deduplication/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225297832,"owners_count":17452010,"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":["algorithms","cv","deduplication","google","imagehash","shingling","simhash"],"created_at":"2024-11-19T04:57:13.772Z","updated_at":"2024-11-19T04:57:14.348Z","avatar_url":"https://github.com/Marcnuth.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# deduplication\n\n![PyPI - Downloads](https://img.shields.io/pypi/dw/deduplication?label=PyPI)\n\nRemove duplicate documents via popular algorithms such as SimHash, SpotSig, Shingling, etc.\n\n## Install\n\nRun following commands:\n\n```\n# install current library\npip install deduplication\n\n# install required pretrained NLP models \npython -m spacy download xx_ent_wiki_sm\npython -m spacy download en_core_web_sm\n```\n\n## Example\n\n__SimHash__\n\n```python\nfrom deduplication import simhash\n\nhashvalue1 = simhash('this is text')\nhashvalue2 = simhash('this is another text', n_block=4)\n```\n\n__L-SimHash__\n\n```python\nfrom deduplication import lsimhash\n\nhashvalue = lsimhash('this is very long article texts. maybe with a lot of sentences.')\n```\n\n## Citation\n\n__SimHash__\n\n```\nSadowski C, Levin G. \nSimhash: Hash-based similarity detection[J]. \nTechnical report, Google, 2007.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcnuth%2Fdeduplication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcnuth%2Fdeduplication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcnuth%2Fdeduplication/lists"}