{"id":24558131,"url":"https://github.com/rse/hashtag-similarity","last_synced_at":"2025-09-01T08:48:30.635Z","repository":{"id":57261678,"uuid":"254738325","full_name":"rse/hashtag-similarity","owner":"rse","description":"Similarity Clustering of HashTags","archived":false,"fork":false,"pushed_at":"2024-03-11T20:33:23.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-10T10:46:45.956Z","etag":null,"topics":["clustering","dice-coefficient","double-metaphone","hashtag","similary"],"latest_commit_sha":null,"homepage":"http://npmjs.com/hashtag-similarity","language":"JavaScript","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/rse.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}},"created_at":"2020-04-10T21:19:02.000Z","updated_at":"2023-08-29T08:54:16.000Z","dependencies_parsed_at":"2022-08-25T06:10:55.288Z","dependency_job_id":null,"html_url":"https://github.com/rse/hashtag-similarity","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rse%2Fhashtag-similarity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rse%2Fhashtag-similarity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rse%2Fhashtag-similarity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rse%2Fhashtag-similarity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rse","download_url":"https://codeload.github.com/rse/hashtag-similarity/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243918641,"owners_count":20368745,"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":["clustering","dice-coefficient","double-metaphone","hashtag","similary"],"created_at":"2025-01-23T05:47:28.092Z","updated_at":"2025-03-16T19:23:07.815Z","avatar_url":"https://github.com/rse.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nHashTag-Similarity\n==================\n\nSimilarity Clustering of HashTags\n\n\u003cimg src=\"sample/screenshot.png\" alt=\"\"/\u003e\n\n\u003cp/\u003e\n\u003cimg src=\"https://nodei.co/npm/hashtag-similarity.png?downloads=true\u0026stars=true\" alt=\"\"/\u003e\n\n\u003cp/\u003e\n\u003cimg src=\"https://david-dm.org/rse/hashtag-similarity.png\" alt=\"\"/\u003e\n\nAbout\n-----\n\n*HashTag-Similarity* is small JavaScript function (for use in Node.js\nand Browser environments) for similarity clustering of hashtags. It is\nintended for use in applications which have to group/cluster similar\nhashtags received from users. For detecting the similarity of hashtags\nweighted decisions are used, based on both the Double-Metaphone and\nDice-Coefficient algorithms.\n\nInstallation\n------------\n\n```shell\n$ npm install hashtag-similarity\n```\n\nExample\n-------\n\n```js\nconst similarity = require(\"hashtag-similarity\")\nconst expect = require(\"chai\").expect\n\nexpect(similarity([ \"foo\", \"foo!\", \"bar\", \"foo\", \"baz\", \"peoples\", \"people\", \"peoples\" ]))\n    .to.be.deep.equal([[ \"bar\" ], [ \"baz\" ], [ \"foo\", \"foo!\" ], [ \"peoples\", \"people\" ]])\n\nexpect(similarity({ foo: 2, \"foo!\": 1, bar: 1, baz: 2, peoples: 2, people: 1 }))\n    .to.be.deep.equal([ { bar: 1 }, { baz: 2 }, { foo: 2, \"foo!\": 1 }, { people: 1, peoples: 2 } ])\n```\n\nLicense\n-------\n\nCopyright \u0026copy; 2020-2024 Dr. Ralf S. Engelschall (http://engelschall.com/)\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be included\nin all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frse%2Fhashtag-similarity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frse%2Fhashtag-similarity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frse%2Fhashtag-similarity/lists"}