Skip to main content

Web API for NLP tagger PIE

Project description

pie-flask

Flask API for Pie

How to use :

You can retrieve a Blueprint by using the following code

from flask import Flask
from flask_pie import PieController
from pie_extended.models.fro import get_iterator_and_processor
from pie_extended.cli.sub import get_tagger

app = Flask(__name__)
fro_controller = PieController(
    tagger=get_tagger("fro"),
    get_iterator_and_processor=get_iterator_and_processor,
    path="/fro"
)
fro_controller.init_app(app)

if __name__ == "__main__":
    app.run()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for flask-pie, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size flask_pie-0.1.2.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View
Filename, size flask_pie-0.1.2-py2.py3-none-any.whl (8.8 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page