Skip to content

Python API Dockerized for document analysis. Available with any NLP model, focused on classification.

Notifications You must be signed in to change notification settings

davidgc14/Document-Classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Document analysis

This is a simple example of an API Dockerized. It allows you to analyze documents using any model you want (and for any purpose). Here I have used a simple example trained on films reviews (view the model/training.py file).

How it works

Simply run docker compose up on the directory where you cloned the project. Then you are able to manage your containers.

The API is listening at http://localhost:5000/analysis on your machine.

To sent files, simply type on your terminal:

curl -X POST http://localhost:5000/analysis -F "file=@/path/to/your/file.pdf"

Currently only available on pdf's. They can be digital or scanned (OCR working).

Notes

Currently using volumes for development. They may be disconnected for production environments.

About

Python API Dockerized for document analysis. Available with any NLP model, focused on classification.

Resources

Stars

Watchers

Forks

Packages

No packages published