Skip to content

Multi-Language Document Content Extraction: This project focuses on extracting and leveraging content from documents written in multiple languages. It includes techniques and tools for parsing, translating, and utilizing multilingual document data, enabling efficient processing and analysis across diverse language sources.

Notifications You must be signed in to change notification settings

frankomondo/ai-multilingual-text-extraction-be-python

Repository files navigation

Multi-Language Document Content Extraction

This project focuses on extracting and leveraging content from documents written in multiple languages. It includes techniques and tools for parsing, translating, and utilizing multilingual document data, enabling efficient processing and analysis across diverse language sources.

TROYZ API

Terminal commands

Note: make sure you have pip and virtualenv installed.

Initial installation: make install

To run test: make tests

To run application: make run

To run all commands at once : make all

Make sure to run the initial migration commands to update the database.

flask db init
flask db migrate --message 'initial database migration'
flask db upgrade

Viewing the app

Open the following url on your browser to view swagger documentation
http://127.0.0.1:5000/

Using Postman

Authorization header is in the following format:

Key: Authorization
Value: "token_generated_during_login"

For testing authorization, url for getting all user requires an admin token while url for getting a single
user by public_id requires just a regular authentication.

Running server

conda deactivate
source python_env/bin/activate
cd Troyz-API/
gunicorn --config gunicorn-cfg.py manage:app -- daemon

Check server

ps -ef | grep gunicorn

About

Multi-Language Document Content Extraction: This project focuses on extracting and leveraging content from documents written in multiple languages. It includes techniques and tools for parsing, translating, and utilizing multilingual document data, enabling efficient processing and analysis across diverse language sources.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages