@boyan-kirov/rakejs
v1.0.0
Published
An javascript implementation of the Rapid Automated Keyword Extraction (RAKE) algorithm. Forked from https://github.com/sleepycat/rapid-automated-keyword-extraction
Downloads
2
Readme
RAKE: Rapid automatic keyword extraction
The goal of this library was to create a well tested Javascript translation of the python implementation.
Differences in regular expressions and stopword lists have big impacts on this algorithm and sticking close to the python means that the code was easy to compare to ensure that it was in the ballpark.
This algorithm is described in Text Mining: Applications and Theory and also in this excellent blog post by Alyona Medelyan.
It operates using only the text you give it and produces surprisingly good results. There are likely better results possible but these mostly seem to involve a combination of Python, Machine Learning and a corpus of data.
The appeal of RAKE is of the "bang for the buck" variety.
Currently this library produces subtly different results than either the paper or the original Python implementation. While the results (especially the top scoring ones) line up nicely, these little deviations represent something to understand and resolve.
Usage
rake('Some string', 'stopwords.txt');