{"id":13893894,"url":"https://github.com/Anonyfox/rake-js","last_synced_at":"2025-07-17T08:31:20.141Z","repository":{"id":144613255,"uuid":"91510569","full_name":"Anonyfox/rake-js","owner":"Anonyfox","description":"A pure JS implementation of the Rapid Automated Keyword Extraction (RAKE) algorithm.","archived":false,"fork":false,"pushed_at":"2018-08-08T19:15:08.000Z","size":167,"stargazers_count":34,"open_issues_count":4,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-07T11:47:02.220Z","etag":null,"topics":["auto-tagging","classification","extraction","keyword","keywords","rake","tag","tags"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Anonyfox.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}},"created_at":"2017-05-16T22:37:59.000Z","updated_at":"2024-11-25T10:20:51.000Z","dependencies_parsed_at":"2024-01-14T08:09:59.073Z","dependency_job_id":"ad290d2d-f934-4941-9a0d-b9ad04748381","html_url":"https://github.com/Anonyfox/rake-js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Anonyfox/rake-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anonyfox%2Frake-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anonyfox%2Frake-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anonyfox%2Frake-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anonyfox%2Frake-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Anonyfox","download_url":"https://codeload.github.com/Anonyfox/rake-js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anonyfox%2Frake-js/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265585295,"owners_count":23792714,"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":["auto-tagging","classification","extraction","keyword","keywords","rake","tag","tags"],"created_at":"2024-08-06T18:01:19.191Z","updated_at":"2025-07-17T08:31:19.854Z","avatar_url":"https://github.com/Anonyfox.png","language":"TypeScript","readme":"# RAKE.js\n\nA pure JS implementation of the Rapid Automated Keyword Extraction (RAKE) algorithm. Put in any text corpus, get back a bunch of keyphrases and keywords.\n\n[![TypeScript](https://badges.frapsoft.com/typescript/code/typescript.svg?v=101)](https://github.com/ellerbrock/typescript-badges/)\n[![Build Status](https://travis-ci.org/Anonyfox/rake-js.svg?branch=master)](https://travis-ci.org/Anonyfox/rake-js)\n[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)\n[![License: LGPL v3](https://img.shields.io/badge/License-LGPL%20v3-blue.svg)](http://www.gnu.org/licenses/lgpl-3.0)\n\n## Currently supported languages:\n\n- english\n- german\n- spanish\n- italian\n- dutch\n- portugese\n- swedish\n\nMore languages are fairly easy to add, see the stoplist module for details.\n\n## How to use\n\nWithout any further options:\n\n````javascript\n  import rake from 'rake-js'\n\n  const myKeywords = rake(someTextContent) // ['keyword1, ...]\n````\n\nWhen the language is known in advance (faster execution):\n\n````javascript\n  import rake from 'rake-js'\n\n  const myKeywords = rake(someTextContent, { language: 'english' })\n````\n\nWhen the corpus is divided by something other than whitespace (eg: `;`):\n\n````javascript\n  import rake from 'rake-js'\n\n  const myKeywords = rake(someTextContent, { delimiters: [';+'] })\n````\n\n## Implementation Details\n\nThis algorithm is *fast*, compared with other approaches like TextRank. The results are surprisingly good for a cross-language algorithm, and the truly relevant keywords / phrases are included in the result in most cases. For more details about the RAKE algorithm, read [the original paper](https://www.researchgate.net/publication/227988510_Automatic_Keyword_Extraction_from_Individual_Documents).\n\nThere are still rough edges in the code, but I tried to translate the abstract algorithm into a solid software package, tested and typesafe. Actually I wrote this thing because I was very disappointed with all the existing solutions on NPM, and I hope this repository is easier to contribute to in the future.\n\n## Roadmap:\n\n- [ ] support more languages (only handful are whitelisted for now)\n- [ ] duplicate keyword filtering\n- [ ] check browser compatibility\n\n## LICENSE:\n\nLGPL-3.0.\n\nYou can use this package in all your free or commercial products without any issues, but I want bugfixes and improvements to this algorithm to flow back into the public code repository.","funding_links":[],"categories":["TypeScript","others"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAnonyfox%2Frake-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAnonyfox%2Frake-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAnonyfox%2Frake-js/lists"}