Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Wrapper for ClearParser

Project Description

Wrappers for the NICTA fork of ClearParser dependency parser allowing customisation of the parsing process. It was developed primarily for the StructuRX prescription interpretation tool.

Certain features also work with the regular unforked ClearParser but this is very much untested.

To use this code an installation of ClearParser must be present on your system.

Usage example, if ClearParser is installed to /usr/local/clearparser:

>>> from clearparser import ClearWrapper
>>> wrapper = ClearWrapper('parsing-config.xml', 'pos-tagging-config.xml',
... 'dep-model.jar', '/usr/local/clearparser')
>>> sentences = ['I ran']
>>> parsed = wrapper.parse_in_bulk(sentences)
Release History

Release History

This version
History Node

0.2

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
ClearWrap-0.2.tar.gz (5.6 kB) Copy SHA256 Checksum SHA256 Source Feb 6, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting