mrg_utils.py Created by Robert Elwell University of Texas at Austin Department of Linguistics http://comp.ling.utexas.edu/relwell
Licensed under GPL
This is a set of python classes for processing Penn-Treebank-style combined parses, also known as the .mrg format in PTB release two. Files should be fairly self-explanatory.
Canonical node is mrg_utils.py, but mrg_document.py and node.py may be more informative for someone starting out.
This could save you up to a month of writing and debugging, and was designed to be scalable.
You can use this to extract features, easily run statistics, and navigate syntactic trees.
This code is built from an API originally designed to interface with Stanford Parser-style dependency parse outputs (Marneffe et al, 2006), Penn Discourse Treebank data, and more. Code or guidance will be furnished upon request by emailing me at robert.elwell@gmail.com.
Good luck, and enjoy.
Metadata
Release files for mrg_utils 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mrg_utils-0.0.1.tar.gz | 8.9 kB | Without provenance | Details for mrg_utils-0.0.1.tar.gz |
Release files / mrg_utils-0.0.1.tar.gz
| Download URL | mrg_utils-0.0.1.tar.gz |
|---|---|
| Size | 8.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a85cadfb734312d1f61993132da2145f6e56b28022245fa8d235bfd814151bb7
|
|
BLAKE2b-256 checksum How to use checksums |
7f6be84f1f4d519477e9b69f82ab8a53003d45d67e1536a797dcf4cbc472bc1f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for mrg_utils 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.