Skip to content

Latest commit

 

History

History
35 lines (29 loc) · 836 Bytes

File metadata and controls

35 lines (29 loc) · 836 Bytes

Details Extractor - Python

Project Overview

This Python project leverages the power of NLTK (Natural Language Toolkit) to extract name, date of flight, and destination from human-readable text strings. It provides a flexible solution for various use cases where extracting such information from textual descriptions is necessary.

Virtual Environment

  • Create a virtual environment to manage all the dependencies
python -m venv .venv
  • Activate the virtual environment
./venv/Scripts/activate

Dependencies

  • Install the requirements from requirements.txt
pip install -r requirements.txt
  • Install nltk models
python nltk-install.py
  • Install the spacy model
python -m spacy download en_core_web_md

Start the API server

flask --app main run