{"id":15009912,"url":"https://github.com/franfj/summarizer","last_synced_at":"2025-04-09T17:52:41.155Z","repository":{"id":57474722,"uuid":"141304732","full_name":"franfj/Summarizer","owner":"franfj","description":"Text summarization Python library (in progress)","archived":false,"fork":false,"pushed_at":"2022-12-27T15:33:55.000Z","size":74,"stargazers_count":9,"open_issues_count":5,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-20T07:17:04.741Z","etag":null,"topics":["machine-learning","nlp","nltk","python","python2","text-mining","text-summarization"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/franfj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-17T14:55:29.000Z","updated_at":"2024-02-29T04:51:13.000Z","dependencies_parsed_at":"2023-01-31T04:16:46.987Z","dependency_job_id":null,"html_url":"https://github.com/franfj/Summarizer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/franfj%2FSummarizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/franfj%2FSummarizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/franfj%2FSummarizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/franfj%2FSummarizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/franfj","download_url":"https://codeload.github.com/franfj/Summarizer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248083379,"owners_count":21045086,"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":["machine-learning","nlp","nltk","python","python2","text-mining","text-summarization"],"created_at":"2024-09-24T19:29:06.525Z","updated_at":"2025-04-09T17:52:41.133Z","avatar_url":"https://github.com/franfj.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Text-Summarizer\nText summarization Python library (in progress)\n\n#### Project status\n* [![PyPI version](https://badge.fury.io/py/text-summarizer.svg)](https://badge.fury.io/py/text-summarizer)\n* [![Build Status](https://travis-ci.com/franfj/Summarizer.svg?branch=master)](https://travis-ci.com/franfj/Summarizer)\n* [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Ffranfj%2FSummarizer.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Ffranfj%2FSummarizer?ref=badge_shield)\n* [![Sonar Status](https://sonarcloud.io/api/project_badges/measure?project=franfj_Summarizer\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=franfj_Summarizer)\n\n#### Installation\npip install text-summarizer\n\n#### Packages needed\nSee requirements.txt\n\n#### Usage\n~~~~\n# Import summarizer\nfrom text_summarizer import summarizer\n\n# Init summarizer parameters\nsummarizer.text = input_text\nsummarizer.algo = Summ.TEXT_RANK    # Summ.TEXT_RANK is equal to \"textrank\"\nsummarizer.percentage = 0.25\n\n# Summarize with summarize() (returns a paragraph) or schematize() (returns a schema)\nsummarizer.summarize()\nsummarizer.schematize()\n\n# You can also init the parameters in the summarize() / schematize() call\nsummarizer.summarize(text_to_be_summarized)\nsummarizer.summarize(text_to_be_summarized, \"textrank\", 0.5)\n~~~~\n\n#### More (theorical) information about text summarization\n\n[More info in icoxfog417/awesome-text-summarization](https://github.com/icoxfog417/awesome-text-summarization)\n\n#### License\n\nCopyright 2018 Francisco Javier Rodrigo Ginés\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program.  If not, see \u003chttp://www.gnu.org/licenses/\u003e.\n\n\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Ffranfj%2FSummarizer.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Ffranfj%2FSummarizer?ref=badge_large)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffranfj%2Fsummarizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffranfj%2Fsummarizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffranfj%2Fsummarizer/lists"}