Skip to main content

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 files for ClearWrap 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ClearWrap 0.2
File Size Uploaded
ClearWrap-0.2.tar.gz 5.6 kB Details

Release files / ClearWrap-0.2.tar.gz

Download URL ClearWrap-0.2.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3d7cd57147e23a0cb300037e74b126df4702faedc154f67d2be20f0edbaa53cf
BLAKE2b-256 checksum
How to use checksums
f79b7168c49e09d55ffc296d5fbace61b9fecebb067b1e86617877db4afbfa7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page