{"id":19760511,"url":"https://github.com/ryanavella/summary-rs","last_synced_at":"2026-02-14T17:03:00.276Z","repository":{"id":246740078,"uuid":"822386780","full_name":"ryanavella/summary-rs","owner":"ryanavella","description":"Extract the sentences which best summarize a document.","archived":false,"fork":false,"pushed_at":"2024-07-01T04:05:10.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-31T22:22:21.288Z","etag":null,"topics":["rust","summarization","summarizer","summary","tf-idf"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ryanavella.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-01T03:58:31.000Z","updated_at":"2024-07-01T16:02:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"b4485109-04ce-4381-877b-20f21ebe71ca","html_url":"https://github.com/ryanavella/summary-rs","commit_stats":null,"previous_names":["ryanavella/summary-rs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanavella%2Fsummary-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanavella%2Fsummary-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanavella%2Fsummary-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanavella%2Fsummary-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanavella","download_url":"https://codeload.github.com/ryanavella/summary-rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239938067,"owners_count":19721560,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["rust","summarization","summarizer","summary","tf-idf"],"created_at":"2024-11-12T03:37:40.591Z","updated_at":"2026-02-14T17:02:55.254Z","avatar_url":"https://github.com/ryanavella.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# summary\r\n\r\nExtract the sentences which best summarize a document.\r\n\r\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/ryanavella/summary-rs/blob/master/LICENSE-MIT) [![License: Apache 2.0](https://img.shields.io/badge/license-Apache-blue.svg)](https://github.com/ryanavella/summary-rs/blob/master/LICENSE-APACHE) [![crates.io](https://img.shields.io/crates/v/summary.svg?colorB=319e8c)](https://crates.io/crates/summary) [![docs.rs](https://img.shields.io/badge/docs.rs-summary-yellowgreen)](https://docs.rs/summary)\r\n\r\n## Example\r\n\r\n```rust\r\nlet summarizer = Summarizer::new(Language::English);\r\nlet text = \"See Spot. See Spot run. Run Spot, run!\";\r\nlet n = 2.try_into().unwrap();\r\nfor sentence in summarizer.summarize_sentences(text, n) {\r\n    println!(\"{sentence}\");\r\n}\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanavella%2Fsummary-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanavella%2Fsummary-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanavella%2Fsummary-rs/lists"}