PyDelphin — Python libraries for DELPH-IN data
|master branch||develop branch||documentation|
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), and more.
Documentation, including tutorials 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. Also note that the upcoming v1.0.0 version will remove Python 2.7 support and numerous deprecated features.
The following packages/modules are available:
delphin.derivation: Derivation trees
delphin.itsdb: [incr tsdb()] profiles
delphin.tsql: TSQL test suite queries
delphin.mrs: Minimal Recursion Semantics
delphin.tdl: Type-Description Language
delphin.tfs: Feature Structures
delphin.tokens: YY Token lattices
delphin.repp: Regular-Expression PreProcessor
delphin.extra.highlight: Pygments-based syntax highlighting (currently just for TDL and SimpleMRS)
delphin.extra.latex: Formatting for LaTeX (just DMRS)
delphin.interfaces.ace: Python wrapper for common tasks using ACE
delphin.interfaces.rest: Client for the web API
PyDelphin is developed and maintained by several contributors:
- Michael Wayne Goodman (primary author)
- T.J. Trimble (packaging, derivations, ACE)
- Guy Emerson (MRS)
- Alex Kuhnle (MRS, ACE)
- Francis Bond (LaTeX export)
- Angie McMillan-Major (maintainer)
- Parser/Generators (chronological order)
- Grammar profiling, testing, and analysis
- Software libraries and repositories
- Also see (may have overlap with the above):
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".