Skip to content

A flask api with a details extractor that uses nltk packages to detect and extract necessary details from a flight booking human readable message

Notifications You must be signed in to change notification settings

DEXOW/details-extractor-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A flask api with a details extractor that uses nltk packages to detect and extract necessary details from a flight booking human readable message

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages