# Website Summarization API
This project is carried out for the purpose of building a machine learning model for summarising a website from urls;
## Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
### Prerequisites
Python distribution
```
Anaconda
```
### Installing
Install Anaconda python distribution on your system
Create a virtual environment called env.
```
python -m venv app
```
Activate the virtual environment
```
LINUX/Mac: source app/bin/activate
Windows: app\Scripts\activate
```
Upgrade to the latest pip
```
pip install --upgrade pip
```
Install dependencies using requirements file
```
pip install -r requirements.txt
```
**Note: Your virtual environment must always be activated before running any command**
## Deployment
Start app (Make sure to enter a valid website to an existing website)
Example of valid commands
```
python app.py simple --url https://facebook.com --sentence 1 --language english
python app.py simple --url https://facebook.com
python app.py simple --url https://korapay.com
python app.py bulk --path ./csv/valid_websites.csv
```
### APIs
This are command options in full:
```
A command line utility for website Summarization.
-----------------------------------------------
These are common commands for this app.
positional arguments:
action This has to be 'summarize'
optional arguments:
-h, --help show this help message and exit
--website PATH website of the url to be summarised
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE.md) file for details
熊IT
- 粉丝: 64
- 资源: 65
最新资源
- 【java毕业设计】员工在线知识培训考试平台源码(ssm+mysql+说明文档).zip
- 【java毕业设计】演出道具租赁管理系统源码(ssm+mysql+说明文档).zip
- ScanMaster RPP3 脉冲放大器手册
- 【java毕业设计】社区医院儿童预防接种管理系统源码(ssm+mysql+说明文档).zip
- 【java毕业设计】企业台账管理平台源码(ssm+mysql+说明文档+LW).zip
- 【java毕业设计】面向品牌会员的在线商城源码(ssm+mysql+说明文档).zip
- 【java毕业设计】消防物资存储系统源码(ssm+mysql+说明文档+LW).zip
- 【java毕业设计】高校课程评价系统源码(ssm+mysql+说明文档+LW).zip
- 【java毕业设计】大健康老年公寓管理系统源码(ssm+mysql+说明文档).zip
- 【java毕业设计】小雨杂志在线投稿网站源码(ssm+mysql+说明文档+LW).zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈