Skip to main content

GATE NLP implementation in Python.

Project description

Python library gatenlp

PyPi version Python compatibility PyPI - Downloads License Travis CodeCov

This is a package for representing the basic elements of text processing and NLP in a way that is very similar to the Java GATE NLP framework, for manipulating GateNLP documents and for interacting with GATE Java and the GATE python plugin.

NOTE: The previous Pypi project "gatenlp" has moved to gatenlphiltlab

Overview

This package is a Python implementation of text processing and NLP similar to Java GATE NLP. Currently it is possible to 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

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.9.2.tar.gz (745.2 kB view hashes)

Uploaded Source

Built Distribution

gatenlp-0.9.2-py3-none-any.whl (98.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