Skip to main content

Libraries and scripts for DELPH-IN data

Project description

PyDelphin — Python libraries for DELPH-IN data

PyPI Version Python Support Build Status Documentation Status

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:

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.


PyDelphin contains the following modules:

Semantic Representations:

Semantic Components and Interfaces:

Grammar and Parse Inspection:


Corpus Management and Processing:

Interfaces with External Processors:

Core Components and Command Line Interface:

Other Information


Please use the following for academic citations (and see:

  author={Goodman, Michael Wayne},
  title={A Python Library for Deep Linguistic Resources},
  booktitle={2019 Pacific Neighborhood Consortium Annual Conference and Joint Meetings (PNC)},
  keywords={research software;linguistics;semantics;HPSG;computational linguistics;natural language processing;open source software}


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


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".

Download files

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

Files for PyDelphin, version 1.2.1
Filename, size File type Python version Upload date Hashes
Filename, size PyDelphin-1.2.1-py3-none-any.whl (172.0 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size PyDelphin-1.2.1.tar.gz (141.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page