- Notifications
You must be signed in to change notification settings - Fork8
Multilingual implementation of RAKE algorithm for Rust
License
Apache-2.0, MIT licenses found
Licenses found
Apache-2.0
LICENSE-APACHEMIT
LICENSE-MITNotificationsYou must be signed in to change notification settings
yaa110/rake-rs
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
The library provides a multilingual implementation ofRapid Automatic Keyword Extraction (RAKE) algorithm for Rust.
- Append
rake
todependencies
ofCargo.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),);
About
Multilingual implementation of RAKE algorithm for Rust
Topics
Resources
License
Apache-2.0, MIT licenses found
Licenses found
Apache-2.0
LICENSE-APACHEMIT
LICENSE-MITUh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors4
Uh oh!
There was an error while loading.Please reload this page.