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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ClearWrap-0.2.tar.gz
(5.6 kB
view details)
File details
Details for the file ClearWrap-0.2.tar.gz
.
File metadata
- Download URL: ClearWrap-0.2.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d7cd57147e23a0cb300037e74b126df4702faedc154f67d2be20f0edbaa53cf |
|
MD5 | 6a22d16a5b42782ce455e33e115a2d0d |
|
BLAKE2b-256 | f79b7168c49e09d55ffc296d5fbace61b9fecebb067b1e86617877db4afbfa7f |