Libraries and scripts for DELPH-IN data
Project description
PyDelphin — Python libraries for DELPH-IN data
DELPH-IN is an international consortium of researchers committed to producing precise, high-quality language processing tools and resources, primarily in the HPSG syntactic and MRS semantic frameworks, and PyDelphin is a suite of Python libraries for processing data and interacting with tools in the DELPH-IN ecosystem. PyDelphin's goal is to lower the barriers to making use of DELPH-IN resources to help users quickly build applications or perform experiments, and it has been successfully used for research into machine translation (e.g., Goodman, 2018), sentence chunking (Muszyńska, 2016), neural semantic parsing (Buys & Blunsom, 2017), natural language generation (Hajdik et al., 2019), and more.
Documentation, including guides and an API reference, is available here: http://pydelphin.readthedocs.io/
New to PyDelphin? Want to see examples? Try the walkthrough.
Installation and Upgrading
Get the latest release of PyDelphin from PyPI:
$ pip install pydelphin
For more information about requirements, installing from source, and running unit tests, please see the documentation.
API changes in new versions are documented in the CHANGELOG, but for any unexpected changes please file an issue.
Features
PyDelphin contains the following modules:
Semantic Representations:
delphin.mrs
: Minimal Recursion Semanticsdelphin.eds
: Elementary Dependency Structuresdelphin.dmrs
: Dependency Minimal Recursion Semantics
Semantic Components and Interfaces:
delphin.semi
: Semantic Interfacedelphin.vpm
: Variable Property Mappingdelphin.variable
: MRS variablesdelphin.predicate
: Semantic Predicatesdelphin.scope
: Underspecified scopedelphin.sembase
: Basic semantic structuresdelphin.codecs
: A wide variety of serialization codecs for MRS, EDS, and DMRS
Grammar and Parse Inspection:
delphin.derivation
: Derivation treesdelphin.tdl
: Type-Description Languagedelphin.tfs
: Feature structures and type hierarchies
Tokenization:
delphin.repp
: Regular-Expression PreProcessordelphin.tokens
: YY Token latticesdelphin.lnk
: Lnk surface alignments
Corpus Management and Processing:
delphin.itsdb
: [incr tsdb()] profilesdelphin.tsdb
: Low-level interface to test suite databasesdelphin.tsql
: TSQL test suite queries
Interfaces with External Processors:
delphin.interface
: Structures for interacting with external processorsdelphin.ace
: Python wrapper for common tasks using ACEdelphin.web
: Client for the web API
Core Components and Command Line Interface:
delphin.commands
: Functional or CLI interface to common tasksdelphin.hierarchy
: Multiple-inheritance hierarchiesdelphin.exceptions
: PyDelphin's basic exception classes
Other Information
Acknowledgments
Thanks to PyDelphin's contributors and all who've participated by filing issues and feature requests. Also thanks to the users of PyDelphin!
Related Software
- Parser/Generators (chronological order)
- Grammar profiling, testing, and analysis
- [incr tsdb()]: http://www.delph-in.net/itsdb/
- gDelta: https://github.com/ned2/gdelta
- Typediff: https://github.com/ned2/typediff
- Software libraries and repositories
- Also see (may have overlap with the above):
Spelling
Earlier versions of PyDelphin were spelled "pyDelphin" with a lower-case "p" and this form is used in several publications. The current recommended spelling has an upper-case "P".
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
Built Distribution
File details
Details for the file PyDelphin-1.1.0.tar.gz
.
File metadata
- Download URL: PyDelphin-1.1.0.tar.gz
- Upload date:
- Size: 138.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e965cbae561ad644be145e7caf5091597ce487dfa6d7048a8e2f3c086568ca4e |
|
MD5 | 7dae9598044cbd48ba152e5aebce2df9 |
|
BLAKE2b-256 | d6be00c2c3465edc669a05fb8fbae2a5db9a9762d1e91bf3b2474157908c0a0e |
Provenance
File details
Details for the file PyDelphin-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: PyDelphin-1.1.0-py3-none-any.whl
- Upload date:
- Size: 167.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80bf9879a1f38237521a2d7336059a5511dd54f4f941f291802d48d3fdc55c69 |
|
MD5 | 8c2ca0e39f1182e645221ed25a260524 |
|
BLAKE2b-256 | 734db7b6536b12bb0dcc8e015f52cd3807c348b6a5aee4b7db998eb5c63515fd |