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 interface to common tasksdelphin.cli
: Command-line interface to functional commandsdelphin.hierarchy
: Multiple-inheritance hierarchiesdelphin.exceptions
: PyDelphin's basic exception classes
Other Information
Getting Help
Please use the issue tracker for bug reports, feature requests, and PyDelphin-specific questions. For more general questions and support, try one of the following channels maintained by the DELPH-IN community:
- DELPH-IN Discourse forums
- developers mailing list
Citation
Please use the following for academic citations (and see: https://ieeexplore.ieee.org/abstract/document/8939628):
@INPROCEEDINGS{Goodman:2019,
author={Goodman, Michael Wayne},
title={A Python Library for Deep Linguistic Resources},
booktitle={2019 Pacific Neighborhood Consortium Annual Conference and Joint Meetings (PNC)},
year={2019},
month=oct,
address={Singapore},
keywords={research software;linguistics;semantics;HPSG;computational linguistics;natural language processing;open source software}
}
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.3.0.tar.gz
.
File metadata
- Download URL: PyDelphin-1.3.0.tar.gz
- Upload date:
- Size: 142.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc69dac30349dbf90106f8bd2fe2017fc76316bf650fe703dcd37a482e9f1ed8 |
|
MD5 | bad2ec77e79316f3d8f7bb17fd4ccc59 |
|
BLAKE2b-256 | aa6e7680b3fe9273d02f193879eda67e24ee63ce77a9f95c450736c14a0f87e4 |
File details
Details for the file PyDelphin-1.3.0-py3-none-any.whl
.
File metadata
- Download URL: PyDelphin-1.3.0-py3-none-any.whl
- Upload date:
- Size: 173.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4032b7a832f9f47db8e2e070fc9d351d26007b0fc01252d69f3f3352ba38cc1d |
|
MD5 | f73a5d8d64296bf3290b4f759f771fc4 |
|
BLAKE2b-256 | 19c3e6f135c38d09f9da894831fa8705bbfeca033e9dabad39e79c5940e9ee0f |