Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ayushsubedi/choto
CLI tool to generate a summary of news/articles right on your terminal. Also a pip package.
https://github.com/ayushsubedi/choto
articles bert choto cli click gensim news pip python spacy summary
Last synced: 2 months ago
JSON representation
CLI tool to generate a summary of news/articles right on your terminal. Also a pip package.
- Host: GitHub
- URL: https://github.com/ayushsubedi/choto
- Owner: ayushsubedi
- License: apache-2.0
- Created: 2021-01-19T10:55:22.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-02T03:08:31.000Z (almost 4 years ago)
- Last Synced: 2024-10-01T14:50:04.359Z (3 months ago)
- Topics: articles, bert, choto, cli, click, gensim, news, pip, python, spacy, summary
- Language: Python
- Homepage: https://pypi.org/project/choto/
- Size: 36.1 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Term Article Summary
#### Installation
`pip install choto`
[![asciicast](https://asciinema.org/a/r203CswsNWHaThJmHLKgpVl60.svg)](https://asciinema.org/a/r203CswsNWHaThJmHLKgpVl60)
### Installation (from source)
#### Clone the repository
`git clone https://github.com/ayushsubedi/choto`
#### CD into the cloned directory and create a virtualenv
`python -m venv env`
### Enable virtualenv
`.\env\Scripts\activate`
### Install dependency packages from requirements.txt
`pip install -r requirements.txt`
### Run the app
`python choto.py --url=https://abc.xyz --ratio=0.5 --algorithm=bert`
Usage: choto.py [OPTIONS]
```
Options:
--url TEXT Enter a valid URL
--ratio FLOAT Ratio to summarize to.
--algorithm [gensim|spacy|bert] Algorithm to use
--help Show this message and exit.
```