Logo

0x5a.live

for different kinds of informations and explorations.

GitHub - yaa110/rake-rs: Multilingual implementation of RAKE algorithm for Rust

Multilingual implementation of RAKE algorithm for Rust - yaa110/rake-rs

Visit SiteGitHub - yaa110/rake-rs: Multilingual implementation of RAKE algorithm for Rust

GitHub - yaa110/rake-rs: Multilingual implementation of RAKE algorithm for Rust

Multilingual implementation of RAKE algorithm for Rust - yaa110/rake-rs

Powered by 0x5a.live 💗

RAKE.rs

crates.io Documentation Crates.io Test

The library provides a multilingual implementation of Rapid Automatic Keyword Extraction (RAKE) algorithm for Rust.

How to Use

  • Append rake to dependencies of Cargo.toml:
rake = "0.3"
  • Import modules:
use rake::*;
  • Create a new instance of Rake struct:
let text = "a long text";
let sw = StopWords::from_file("path/to/stop_words_list.txt").unwrap();
let r = Rake::new(sw);
let keywords = r.run(text);
  • Iterate over keywords:
keywords.iter().for_each(
    |&KeywordScore {
        ref keyword,
        ref score,
    }| println!("{}: {}", keyword, score),
);

Rust Resources

are all listed below.

Resources

listed to get explored on!!

Made with ❤️

to provide different kinds of informations and resources.