Skip to main content

The Python Xrenner JSON-NLP package

Project description

Xrenner to JSON-NLP

(C) 2019 by Damir Cavar, Oren Baldinger, Maanvitha Gongalla, Anurag Kumar, Murali Kammili, Boli Fang

Brought to you by the NLP-Lab.org!

Introduction

This module provides an Xrenner wrapper for JSON-NLP, which means that the output of Xrenner is returned as JSON-NLP. The wrapper also provides the possibility to launch Xrenner as a Microservice with a RESTful interface based on Flask or WSGI.

Docker CoreNLP

Xrenner requires a running version of CoreNLP. The default port is 9000. It is possible to set the configuration line to an alternative port number. It is possible to run CoreNLP as an independent and standalone service or from a docker container:

docker pull nlpbox/corenlp docker run -p 9000:9000 -ti nlpbox/corenlp

To test, open a new tab and type:

wget -q --post-data "Although they didn't like it, they accepted the offer." localhost:9000/?properties={"annotators":"depparse","outputFormat":"conll"}' -O /dev/stdout

Project details


Download files

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

Source Distribution

xrennerjsonnlp-0.0.1.tar.gz (10.2 kB view hashes)

Uploaded Source

Built Distribution

xrennerjsonnlp-0.0.1-py3-none-any.whl (14.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page