Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Multilingual implementation of RAKE algorithm for Rust

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
NotificationsYou must be signed in to change notification settings

yaa110/rake-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crates.ioDocumentationCrates.ioTest

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

How to Use

  • Appendrake todependencies ofCargo.toml:
rake ="0.3"
  • Import modules:
use rake::*;
  • Create a new instance ofRake 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-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Contributors4

  •  
  •  
  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp