• Stars
    star
    100
  • Rank 340,703 (Top 7 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created almost 8 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A NodeJS implementation of the Rapid Automatic Keyword Extraction algorithm.

node-rake

Build Status npm npm

A NodeJS implementation of the Rapid Automatic Keyword Extraction algorithm.

Installation

npm install node-rake

Usage

rake.generate(text, opts);

The opts param is an object that allows to pass custom params to generate method. Options:

  • stopwords: Optional. An array containing a custom stopwords list. By default, the method uses a stopwords list which comes along (take a look at Stopwords source).

Example of usage:

const rake = require('node-rake')
const keywords = rake.generate("LDA stands for Latent Dirichlet Allocation")
// it'll output: [ 'Latent Dirichlet Allocation', 'LDA stands' ]

//or

const myStopwords = ['for', 'the', 'a', 'stands', 'test', 'man', 'woman'];
const opts = {stopwords: myStopwords};

const keywords = rake.generate("LDA stands for Latent Dirichlet Allocation", opts);
// it'll output: [ 'Latent Dirichlet Allocation', 'LDA' ]

Algorithm sources:

1.https://www.researchgate.net/publication/227988510_Automatic_Keyword_Extraction_from_Individual_Documents 2.https://www.ijarcsse.com/docs/papers/Volume_6/5_May2016/V6I5-0392.pdf

Stopwords source:

  1. http://dev.mysql.com/doc/refman/5.7/en/fulltext-stopwords.html

Example :

  1. https://runkit.com/waseem18/59fe9c7d20e52f0012606fbe
  2. https://runkit.com/waseem18/59fe9d1b5fbc910012f99891

npm

Note

Looking for a maintainer for this project.

More Repositories

1

Openflock

🚀 Promote your opensource projects/issues and get more and better contributors [Discontinued].
Python
44
star
2

Hacks

A Linux terminal utility to find upcoming hackathons near you or at a particular location.
Python
36
star
3

gitpromote

'gitpromote' is a social utility for github users to promote their projects to get helping hands to improve code,add new features and find more interesting projects relevant to you. [Legacy code] [Not maintained]
Python
24
star
4

Just-an-api-Quora

Unofficial Quora api to extract answers of a question and the answers answers by a user. [Project discontinued]
Python
20
star
5

Is-your-website-down-

'Is Your website down' sends you a text message if your websites go down.
Python
15
star
6

mattermost-plugin-google-calendar

This project has been discontinued and the working version can be found at - https://github.com/mattermost/mattermost-plugin-google-calendar/tree/v0.2.0
Go
14
star
7

Shorten-it

A high performance URL shortener built using Google app engine . [The code to redirect the shortened URL to the long URL to be added.]
Python
13
star
8

Life

My Goals and Achievements
8
star
9

The-Weather-App

An app engine app that fetches the weather conditions for a given city or zip code.
Python
3
star
10

SPOJ-Solutions

My solutions to the SPOJ problems.
C++
3
star
11

Doodle-Jump-Prototype

A simple Doodle Jump game designed using SimpleGUICS2Pygame package.
Python
2
star
12

CodeSkulptor-Project

Python
2
star
13

Another-doodle-jump--The-Descent-

Prototype of Doodle Jump game.
1
star
14

pymeetups

Find information about upcoming Python conferences and meetups through your terminal
Python
1
star