This is a work in progress.
It is a project started on April 28, 2021
.
To run the program and see a demo of the code, you need:
- To install the libraries below
- To download the datasets (see Data sources for information).
Library | Used to |
---|---|
Numpy | To handle Numpy arrays |
Pandas | To store and access info in a DataFrame |
Follow these instructions to install the required libraries: on terminal
- Open your terminal;
- cd to the directory where the
requirements.txt
file is located; - Create and activate your virtual environment.
- Run the command:
pip3 install -r requirements.txt
Note that I develop the source code on macOS Big Sur
On your terminal:
- Open your terminal;
- cd to the directory
- Activate your virtual environment.
- Run the command:
flask run
and browse to the link provided (to run the app locally in your browser)
The project is structured as follows:
nlp-text-summarizer
│ README.md :explains the project
│ main.py :script to run in order to start the program
│ requirements.txt :packages to install to run the program
│ .gitignore :files to ignore when pushing to the GitHub repository
│
└───app :directory contains all the core scripts of the app
This project is carried out by Van Frausum Derrick from Theano 2.27 promotion at BeCode.
I would like to thank:
- my colleagues and coaches at BeCode for their help and guidance.
- nicknochnack GitHub and HuggingFace community for their solutions on how to summarize long texts
- Progress in roadmap