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
Built Distribution
Hashes for xrennerjsonnlp-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a72086797f9be4c88bf6124f433c229d9173117f34c73595292daf44d425db99 |
|
MD5 | a41495c05b6993e1af61bdf4640b175f |
|
BLAKE2b-256 | fd5a76b73b2ecb5090b890cf5c68d27576aed00d1d78d628a538574f3b699848 |