Crates.io | rake |
lib.rs | rake |
version | |
source | src |
created_at | 2018-03-17 11:53:07.329873+00 |
updated_at | 2025-02-20 20:27:30.700569+00 |
description | Rust implementation of Rapid Automatic Keyword Extraction (RAKE) algorithm |
homepage | https://github.com/yaa110/rake-rs |
repository | https://github.com/yaa110/rake-rs |
max_upload_size | |
id | 56099 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
The library provides a multilingual implementation of Rapid Automatic Keyword Extraction (RAKE) algorithm for Rust.
rake
to dependencies
of Cargo.toml
:rake = "0.3"
use rake::*;
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);
keywords.iter().for_each(
|&KeywordScore {
ref keyword,
ref score,
}| println!("{}: {}", keyword, score),
);