{"id":25748078,"url":"https://github.com/burhanali2211/textsummarizer","last_synced_at":"2026-07-06T13:31:03.798Z","repository":{"id":276510574,"uuid":"929498800","full_name":"Burhanali2211/TextSummarizer","owner":"Burhanali2211","description":"A Text Summarizer tool built using Python, NLTK, Tkinter, and PyPDF2. It allows users to: ✅ Load text from a file (.txt, .pdf) or manual input","archived":false,"fork":false,"pushed_at":"2025-02-08T17:31:47.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-30T07:37:04.477Z","etag":null,"topics":["keys","nlp","python","summarizer","text"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Burhanali2211.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-08T17:30:08.000Z","updated_at":"2025-02-10T17:18:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"72a3c947-7d60-4bb5-b7e6-d6cffd30be16","html_url":"https://github.com/Burhanali2211/TextSummarizer","commit_stats":null,"previous_names":["burhanali2211/textsummarizer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Burhanali2211/TextSummarizer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Burhanali2211%2FTextSummarizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Burhanali2211%2FTextSummarizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Burhanali2211%2FTextSummarizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Burhanali2211%2FTextSummarizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Burhanali2211","download_url":"https://codeload.github.com/Burhanali2211/TextSummarizer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Burhanali2211%2FTextSummarizer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35193679,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-06T02:00:07.184Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["keys","nlp","python","summarizer","text"],"created_at":"2025-02-26T12:18:55.618Z","updated_at":"2026-07-06T13:31:03.774Z","avatar_url":"https://github.com/Burhanali2211.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Text Summarizer\n\n## 📌 Overview\nThis is a **Text Summarizer** tool built using **Python, NLTK, Tkinter, and PyPDF2**. It allows users to:\n✅ Load text from a **file (.txt, .pdf) or manual input**  \n✅ **Summarize** the text by extracting the most important sentences  \n✅ **Customize** the summary length  \n✅ **Save the summary** as a `.txt` file  \n\nThis project is designed for **quick text analysis and summarization** using **Natural Language Processing (NLP)**.\n\n---\n\n## 🚀 Features\n✔ **Load Text from File** (Supports `.txt` and `.pdf`)  \n✔ **Tokenization** using `nltk.sent_tokenize()`  \n✔ **Stopword Removal** for accurate keyword extraction  \n✔ **Sentence Ranking** using word frequency  \n✔ **Customizable Summary Length**  \n✔ **Simple GUI Interface** using `Tkinter`  \n✔ **Save Summary as a .txt File**  \n\n---\n\n## 📂 Installation\n### 1️⃣ Install Required Libraries\nMake sure you have **Python 3.9+** installed, then run:\n```sh\npip install nltk PyPDF2 tk\n```\n\n### 2️⃣ Download NLTK Data\nRun this in Python:\n```python\nimport nltk\nnltk.download('punkt')\nnltk.download('stopwords')\n```\n\n### 3️⃣ Run the Script\n```sh\npython text_summarizer.py\n```\n\n---\n\n## 📖 Usage\n1️⃣ Open the program and **enter text manually** or **load a file**  \n2️⃣ **Set the number of sentences** you want in the summary  \n3️⃣ Click **Summarize** to generate the output  \n4️⃣ Click **Save Summary** to export it as a `.txt` file  \n\n---\n\n## 🛠 Troubleshooting\n### ❌ `LookupError: Resource punkt_tab not found`\n✅ Run the following in Python:\n```python\nimport nltk\nnltk.download('punkt')\nnltk.download('stopwords')\n```\nIf the error persists, **delete the `nltk_data` folder** from:\n```\nC:\\Users\\\u003cyour-username\u003e\\AppData\\Roaming\\nltk_data\n```\nThen reinstall:\n```sh\npip uninstall nltk\npip install nltk\n```\n\n---\n\n## 📜 License\nThis project is **open-source** and available under the **MIT License**. Feel free to use and modify it! 😊\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburhanali2211%2Ftextsummarizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fburhanali2211%2Ftextsummarizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburhanali2211%2Ftextsummarizer/lists"}