Skip to content

awk-io/txt-summarizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

txt-summarizer

A text summarizer that extracts key sentences from any input and presents them as bullet points. Each bullet is a complete, grammatically correct sentence.

what it does

Accepts plain text input. Extracts the most relevant sentences using word frequency scoring. Outputs a condensed version as a bulleted list. The user controls the number of sentences in the summary.

how it works

  • splits input into sentences
  • calculates word frequency, excluding common stopwords
  • scores each sentence by the frequency of its words
  • selects the highest-scoring sentences
  • sorts selected sentences back into original order
  • capitalizes and punctuates each sentence properly

features

  • single HTML file. No dependencies. No external requests.
  • light mode and dark mode. Persistent preference.
  • adjustable summary length (1–8 sentences)
  • keyboard shortcut: Ctrl+Enter to summarize
  • real‑time character and word counts

usage

Paste text into the textarea. Set the number of sentences. Click summarize or press Ctrl+Enter. The summary appears as a bulleted list below.

file

index.html — open in any modern browser. Works offline.

license

Unlicense. Public domain.

About

Extractive summarizer. Dieter Rams industrial design principles applied to interface. Japanese wabi-sabi aesthetic.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages