An open API service indexing awesome lists of open source software.

https://github.com/tigregotico/rakekeywords

RAKE - Rapid Automatic Keyword Extraction
https://github.com/tigregotico/rakekeywords

algorithm keyword-extraction keyword-extractor keywords rake

Last synced: about 1 month ago
JSON representation

RAKE - Rapid Automatic Keyword Extraction

Awesome Lists containing this project

README

          

# RAKEkeywords

Implementation of RAKE - Rapid Automatic Keyword Extraction algorithm as described in:

Rose, S., D. Engel, N. Cramer, and W. Cowley (2010).
Automatic keyword extraction from indi-vidual documents.
In M. W. Berry and J. Kogan (Eds.), Text Mining: Applications and Theory.unknown: John Wiley and Sons, Ltd.


## Install

Available on pip

```bash
pip install RAKEkeywords
```

## Usage

```python
from RAKEkeywords import Rake

rake = Rake()

keywords = rake.extract_keywords("Mycroft is a free and open-source voice assistant for Linux-based operating systems that uses a natural language user interface")

"""
[('natural language user interface', 16.0),
('open-source voice assistant', 9.0),
('linux-based operating systems', 9.0),
('mycroft', 1.0),
('free', 1.0)]
"""

```