SummarizeMe
Program summarizes news articles into a couple of sentences. This project was inspired by SMMRY, the algorithm used in many subreddits to automate TL;DRs
Install / Use
/learn @DavidIsrawi/SummarizeMeREADME
Summarize Me
Program summarizes articles into a few sentences. Inspired by the auto TL;DR bot used for many subreddits
Check it out at http://summarizeme.surge.sh/
How does it work
Using NLTK
- Remove words with no value from the article (e.g. 'a', 'to', 'am')
- Create frequency table of words
- Assign value to each sentence depending on the words it contains and the frequency table
- Build summary depending on the value of all sentences and the outstanding ones
Frameworks and Libraries
Flask - Python micro-framework for web development
Angular - Framework for mobile and web applications
Skeleton - CSS Boilerplate
Font Awesome - CSS Toolkit + Icons
virtualenv - Create isolated Python environments
nltk - Natural Language Toolkit
Deployment and Hosting info
RESTful API hosted in AWS Elastic Beanstalk. Click on URL to check features
Angular application hosted in GitHub Pages using angular-cli-ghpages
To test (not needed anymore)
Using npm and json-server:
npm install -g json-server
cd client/
json-server --watch db.json
the json server should initialize to http://localhost:3000/, then
npm start
it should redirect you to http://localhost:3001/
To use the RESTful api and get accurate results, set up virtualenv and Flask using pip or your preferred library manager...
cd server
sudo pip install virtualenv
virtualenv venv
. venv/bin/activate * for OS X or Linux *
venv\Scripts\activate * for Windows *
sudo pip install Flask
python restful.py
To deactivate the virtualenv, just type...
deactivate
For reference:
Check Traversy Media's video: Angular 2 in 60 Minutes
Angular's QuickStart
TL;DR bot made by SMMRY
If interested in understanding how it works, feel free to read my article at dev.to
Related Skills
node-connect
348.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
348.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
348.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
