Skip to main content

Library for GATE NLP interaction and resource manipulation

Project description

Python library gatenlp

PyPi version Python compatibility

Library for manipulating GateNLP documents and for interacting with GATE Java and the GATE python plugin.

NOTE: This is in the planning/development stage for now

**NOTE: The original Pypi project "gatenlp" has moved to gatenlphiltlab **

Overview

This library can load GATE documents from their BdocJS (JSON) representation or create GATE documents from scratch. This creates an object of type gatenlp.Document which offers an API for adding, retrieving and changing stand-off annotations and document features in much the same way as this is done in Java GATE.

This document representation also optionally allows to track all changes done to the document in a "change log" (a gatenlp.ChangeLog instance). Such changes can later be applied to Java GATE documents.

This library also implements the functionality for the interaction with a Java GATE process in two different ways:

  • The Java GATE Python plugin can invoke a python process to annotate GATE documents with python code
  • the python code can remote-control a Jave GATE instance (NOT YET IMPLEMENTED!)

More information and documentation

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

gatenlp-0.4.tar.gz (22.5 kB view hashes)

Uploaded Source

Built Distribution

gatenlp-0.4-py3-none-any.whl (29.0 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