RAKE.rs
The library provides a multilingual implementation of Rapid Automatic Keyword Extraction (RAKE) algorithm for Rust.
How to Use
- Append
rake
todependencies
ofCargo.toml
:
= "0.1"
- Import modules:
extern crate rake;
use *;
- Create a new instance of
Rake
struct:
let text = "a long text";
let sw = from_file.unwrap;
let r = new;
let keywords = r.run;
- Iterate over keywords:
keywords.iter.for_each;