summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-pydelphin.spec656
-rw-r--r--sources1
3 files changed, 658 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..7127e09 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/PyDelphin-1.8.0.tar.gz
diff --git a/python-pydelphin.spec b/python-pydelphin.spec
new file mode 100644
index 0000000..0ba4e4b
--- /dev/null
+++ b/python-pydelphin.spec
@@ -0,0 +1,656 @@
+%global _empty_manifest_terminate_build 0
+Name: python-PyDelphin
+Version: 1.8.0
+Release: 1
+Summary: Libraries and scripts for DELPH-IN data
+License: MIT
+URL: https://github.com/delph-in/pydelphin
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/7e/11/425678d0ca350d6d4a24c4b5b6f84021b634f5896011aa2aa6f94430f208/PyDelphin-1.8.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-penman
+Requires: python3-progress
+Requires: python3-Pygments
+Requires: python3-sphinx
+Requires: python3-sphinx-rtd-theme
+Requires: python3-requests
+Requires: python3-falcon
+Requires: python3-regex
+Requires: python3-pytest
+Requires: python3-flake8
+Requires: python3-mypy
+Requires: python3-types-requests
+Requires: python3-setuptools
+Requires: python3-wheel
+Requires: python3-twine
+Requires: python3-sphinx
+Requires: python3-sphinx-rtd-theme
+Requires: python3-requests
+Requires: python3-falcon
+Requires: python3-regex
+Requires: python3-regex
+Requires: python3-requests
+Requires: python3-falcon
+Requires: python3-pytest
+Requires: python3-flake8
+Requires: python3-mypy
+Requires: python3-types-requests
+Requires: python3-requests
+Requires: python3-falcon
+
+%description
+# PyDelphin — Python libraries for DELPH-IN data
+
+[![PyPI Version](https://img.shields.io/pypi/v/pydelphin.svg)](https://pypi.org/project/PyDelphin/)
+![Python Support](https://img.shields.io/pypi/pyversions/pydelphin.svg)
+[![Test Status](https://github.com/delph-in/pydelphin/actions/workflows/checks.yml/badge.svg)](https://github.com/delph-in/pydelphin/actions/workflows/checks.yml)
+[![Documentation Status](https://readthedocs.org/projects/pydelphin/badge/?version=latest)](https://pydelphin.readthedocs.io/en/latest/?badge=latest)
+![Discourse topics](https://img.shields.io/discourse/topics?color=%234b2e83&server=https%3A%2F%2Fdelphinqa.ling.washington.edu)
+
+[DELPH-IN](http://delph-in.net) is an international consortium of
+researchers committed to producing precise, high-quality language
+processing tools and resources, primarily in the
+[HPSG](http://hpsg.stanford.edu/) syntactic and
+[MRS](https://github.com/delph-in/docs/wiki/RmrsTop) 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.
+
+[Goodman, 2018]: https://goodmami.org/static/goodman-dissertation.pdf
+[Muszyńska, 2016]: https://www.aclweb.org/anthology/P16-3014
+[Buys & Blunsom, 2017]: https://www.aclweb.org/anthology/P17-1112
+[Hajdik et al., 2019]: https://www.aclweb.org/anthology/N19-1235
+
+Documentation, including guides and an API reference, is available here:
+http://pydelphin.readthedocs.io/
+
+New to PyDelphin? Want to see examples? Try the
+[walkthrough](https://pydelphin.readthedocs.io/en/latest/guides/walkthrough.html).
+
+## Installation and Upgrading
+
+Get the latest release of PyDelphin from [PyPI]:
+
+```bash
+$ pip install pydelphin
+```
+
+[PyPI]: https://pypi.python.org/pypi/PyDelphin
+
+For more information about requirements, installing from source, and
+running unit tests, please see the
+[documentation](https://pydelphin.readthedocs.io/en/latest/guides/setup.html).
+
+API changes in new versions are documented in the
+[CHANGELOG](CHANGELOG.md), but for any unexpected changes please [file
+an issue][issues].
+
+[issues]: https://github.com/delph-in/pydelphin/issues/
+
+## Features
+
+PyDelphin contains the following modules:
+
+Semantic Representations:
+- [`delphin.mrs`]: [Minimal Recursion Semantics](https://github.com/delph-in/docs/wiki/MrsRfc)
+- [`delphin.eds`]: [Elementary Dependency Structures](https://github.com/delph-in/docs/wiki/EdsTop)
+- [`delphin.dmrs`]: [Dependency Minimal Recursion Semantics](https://github.com/delph-in/docs/wiki/RmrsDmrs)
+
+Semantic Components and Interfaces:
+- [`delphin.semi`]: [Semantic Interface](https://github.com/delph-in/docs/wiki/SemiRfc)
+- [`delphin.vpm`]: [Variable Property Mapping](https://github.com/delph-in/docs/wiki/RmrsVpm)
+- [`delphin.variable`]: MRS variables
+- [`delphin.predicate`]: [Semantic Predicates](https://github.com/delph-in/docs/wiki/PredicateRfc)
+- [`delphin.scope`]: Underspecified scope
+- [`delphin.sembase`]: Basic semantic structures
+- [`delphin.codecs`]: A wide variety of serialization codecs for MRS, EDS, and DMRS
+
+Grammar and Parse Inspection:
+- [`delphin.derivation`]: [Derivation trees](https://github.com/delph-in/docs/wiki/ItsdbDerivations)
+- [`delphin.tdl`]: [Type-Description Language](https://github.com/delph-in/docs/wiki/TdlRfc)
+- [`delphin.tfs`]: Feature structures and type hierarchies
+
+Tokenization:
+- [`delphin.repp`]: [Regular-Expression PreProcessor](https://github.com/delph-in/docs/wiki/ReppTop)
+- [`delphin.tokens`]: [YY Token lattices](https://github.com/delph-in/docs/wiki/PetInput#yy-input-mode)
+- [`delphin.lnk`]: Lnk surface alignments
+
+Corpus Management and Processing:
+- [`delphin.itsdb`]: [\[incr tsdb()\]](https://github.com/delph-in/docs/wiki/ItsdbTop) profiles
+- [`delphin.tsdb`]: Low-level interface to test suite databases
+- [`delphin.tsql`]: [TSQL](https://github.com/delph-in/docs/wiki/TsqlRfc) test suite queries
+
+Interfaces with External Processors:
+- [`delphin.interface`]: Structures for interacting with external processors
+- [`delphin.ace`]: Python wrapper for common tasks using [ACE](http://sweaglesw.org/linguistics/ace/)
+- [`delphin.web`]: Client for the [web API](https://github.com/delph-in/docs/wiki/ErgApi)
+
+Core Components and Command Line Interface:
+- [`delphin.commands`]: Functional interface to common tasks
+- [`delphin.cli`]: Command-line interface to functional commands
+- [`delphin.hierarchy`]: Multiple-inheritance hierarchies
+- [`delphin.exceptions`]: PyDelphin's basic exception classes
+
+
+[`delphin.cli`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.cli.html
+[`delphin.codecs`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.codecs.html
+[`delphin.commands`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.commands.html
+[`delphin.derivation`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.derivation.html
+[`delphin.dmrs`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.dmrs.html
+[`delphin.eds`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.eds.html
+[`delphin.exceptions`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.exceptions.html
+[`delphin.hierarchy`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.hierarchy.html
+[`delphin.interface`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.interface.html
+[`delphin.ace`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.ace.html
+[`delphin.web`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.web.html
+[`delphin.tsdb`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.tsdb.html
+[`delphin.itsdb`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.itsdb.html
+[`delphin.lnk`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.lnk.html
+[`delphin.mrs`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.mrs.html
+[`delphin.predicate`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.predicate.html
+[`delphin.repp`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.repp.html
+[`delphin.scope`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.scope.html
+[`delphin.sembase`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.sembase.html
+[`delphin.semi`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.semi.html
+[`delphin.tdl`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.tdl.html
+[`delphin.tfs`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.tfs.html
+[`delphin.tokens`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.tokens.html
+[`delphin.tsql`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.tsql.html
+[`delphin.variable`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.variable.html
+[`delphin.vpm`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.vpm.html
+
+
+## Other Information
+
+### Getting Help
+
+Please use the [issue tracker][issues] for bug reports, feature
+requests, and documentation requests. For more general questions
+and support, try one of the following channels maintained by the
+DELPH-IN community:
+
+- [DELPH-IN Discourse](https://delphinqa.ling.washington.edu/) forums
+- [developers](http://lists.delph-in.net/mailman/listinfo/developers)
+ mailing list
+
+### Citation
+
+Please use the following for academic citations (and see: https://ieeexplore.ieee.org/abstract/document/8939628):
+
+```bibtex
+@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](https://github.com/delph-in/pydelphin/graphs/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)
+ - LKB: https://github.com/delph-in/docs/wiki/LkbTop (also: https://github.com/delph-in/docs/wiki/LkbFos)
+ - PET: https://github.com/delph-in/docs/wiki/PetTop
+ - ACE: http://sweaglesw.org/linguistics/ace/
+ - agree: https://github.com/delph-in/docs/wiki/AgreeTop
+* 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
+ - LOGON: https://github.com/delph-in/docs/wiki/LogonTop
+ - pydmrs: https://github.com/delph-in/pydmrs
+* Also see (may have overlap with the above):
+ - https://github.com/delph-in/docs/wiki/ToolsTop
+ - https://github.com/delph-in/docs/wiki/DelphinApplications
+
+### 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".
+
+
+%package -n python3-PyDelphin
+Summary: Libraries and scripts for DELPH-IN data
+Provides: python-PyDelphin
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-PyDelphin
+# PyDelphin — Python libraries for DELPH-IN data
+
+[![PyPI Version](https://img.shields.io/pypi/v/pydelphin.svg)](https://pypi.org/project/PyDelphin/)
+![Python Support](https://img.shields.io/pypi/pyversions/pydelphin.svg)
+[![Test Status](https://github.com/delph-in/pydelphin/actions/workflows/checks.yml/badge.svg)](https://github.com/delph-in/pydelphin/actions/workflows/checks.yml)
+[![Documentation Status](https://readthedocs.org/projects/pydelphin/badge/?version=latest)](https://pydelphin.readthedocs.io/en/latest/?badge=latest)
+![Discourse topics](https://img.shields.io/discourse/topics?color=%234b2e83&server=https%3A%2F%2Fdelphinqa.ling.washington.edu)
+
+[DELPH-IN](http://delph-in.net) is an international consortium of
+researchers committed to producing precise, high-quality language
+processing tools and resources, primarily in the
+[HPSG](http://hpsg.stanford.edu/) syntactic and
+[MRS](https://github.com/delph-in/docs/wiki/RmrsTop) 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.
+
+[Goodman, 2018]: https://goodmami.org/static/goodman-dissertation.pdf
+[Muszyńska, 2016]: https://www.aclweb.org/anthology/P16-3014
+[Buys & Blunsom, 2017]: https://www.aclweb.org/anthology/P17-1112
+[Hajdik et al., 2019]: https://www.aclweb.org/anthology/N19-1235
+
+Documentation, including guides and an API reference, is available here:
+http://pydelphin.readthedocs.io/
+
+New to PyDelphin? Want to see examples? Try the
+[walkthrough](https://pydelphin.readthedocs.io/en/latest/guides/walkthrough.html).
+
+## Installation and Upgrading
+
+Get the latest release of PyDelphin from [PyPI]:
+
+```bash
+$ pip install pydelphin
+```
+
+[PyPI]: https://pypi.python.org/pypi/PyDelphin
+
+For more information about requirements, installing from source, and
+running unit tests, please see the
+[documentation](https://pydelphin.readthedocs.io/en/latest/guides/setup.html).
+
+API changes in new versions are documented in the
+[CHANGELOG](CHANGELOG.md), but for any unexpected changes please [file
+an issue][issues].
+
+[issues]: https://github.com/delph-in/pydelphin/issues/
+
+## Features
+
+PyDelphin contains the following modules:
+
+Semantic Representations:
+- [`delphin.mrs`]: [Minimal Recursion Semantics](https://github.com/delph-in/docs/wiki/MrsRfc)
+- [`delphin.eds`]: [Elementary Dependency Structures](https://github.com/delph-in/docs/wiki/EdsTop)
+- [`delphin.dmrs`]: [Dependency Minimal Recursion Semantics](https://github.com/delph-in/docs/wiki/RmrsDmrs)
+
+Semantic Components and Interfaces:
+- [`delphin.semi`]: [Semantic Interface](https://github.com/delph-in/docs/wiki/SemiRfc)
+- [`delphin.vpm`]: [Variable Property Mapping](https://github.com/delph-in/docs/wiki/RmrsVpm)
+- [`delphin.variable`]: MRS variables
+- [`delphin.predicate`]: [Semantic Predicates](https://github.com/delph-in/docs/wiki/PredicateRfc)
+- [`delphin.scope`]: Underspecified scope
+- [`delphin.sembase`]: Basic semantic structures
+- [`delphin.codecs`]: A wide variety of serialization codecs for MRS, EDS, and DMRS
+
+Grammar and Parse Inspection:
+- [`delphin.derivation`]: [Derivation trees](https://github.com/delph-in/docs/wiki/ItsdbDerivations)
+- [`delphin.tdl`]: [Type-Description Language](https://github.com/delph-in/docs/wiki/TdlRfc)
+- [`delphin.tfs`]: Feature structures and type hierarchies
+
+Tokenization:
+- [`delphin.repp`]: [Regular-Expression PreProcessor](https://github.com/delph-in/docs/wiki/ReppTop)
+- [`delphin.tokens`]: [YY Token lattices](https://github.com/delph-in/docs/wiki/PetInput#yy-input-mode)
+- [`delphin.lnk`]: Lnk surface alignments
+
+Corpus Management and Processing:
+- [`delphin.itsdb`]: [\[incr tsdb()\]](https://github.com/delph-in/docs/wiki/ItsdbTop) profiles
+- [`delphin.tsdb`]: Low-level interface to test suite databases
+- [`delphin.tsql`]: [TSQL](https://github.com/delph-in/docs/wiki/TsqlRfc) test suite queries
+
+Interfaces with External Processors:
+- [`delphin.interface`]: Structures for interacting with external processors
+- [`delphin.ace`]: Python wrapper for common tasks using [ACE](http://sweaglesw.org/linguistics/ace/)
+- [`delphin.web`]: Client for the [web API](https://github.com/delph-in/docs/wiki/ErgApi)
+
+Core Components and Command Line Interface:
+- [`delphin.commands`]: Functional interface to common tasks
+- [`delphin.cli`]: Command-line interface to functional commands
+- [`delphin.hierarchy`]: Multiple-inheritance hierarchies
+- [`delphin.exceptions`]: PyDelphin's basic exception classes
+
+
+[`delphin.cli`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.cli.html
+[`delphin.codecs`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.codecs.html
+[`delphin.commands`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.commands.html
+[`delphin.derivation`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.derivation.html
+[`delphin.dmrs`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.dmrs.html
+[`delphin.eds`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.eds.html
+[`delphin.exceptions`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.exceptions.html
+[`delphin.hierarchy`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.hierarchy.html
+[`delphin.interface`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.interface.html
+[`delphin.ace`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.ace.html
+[`delphin.web`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.web.html
+[`delphin.tsdb`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.tsdb.html
+[`delphin.itsdb`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.itsdb.html
+[`delphin.lnk`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.lnk.html
+[`delphin.mrs`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.mrs.html
+[`delphin.predicate`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.predicate.html
+[`delphin.repp`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.repp.html
+[`delphin.scope`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.scope.html
+[`delphin.sembase`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.sembase.html
+[`delphin.semi`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.semi.html
+[`delphin.tdl`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.tdl.html
+[`delphin.tfs`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.tfs.html
+[`delphin.tokens`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.tokens.html
+[`delphin.tsql`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.tsql.html
+[`delphin.variable`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.variable.html
+[`delphin.vpm`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.vpm.html
+
+
+## Other Information
+
+### Getting Help
+
+Please use the [issue tracker][issues] for bug reports, feature
+requests, and documentation requests. For more general questions
+and support, try one of the following channels maintained by the
+DELPH-IN community:
+
+- [DELPH-IN Discourse](https://delphinqa.ling.washington.edu/) forums
+- [developers](http://lists.delph-in.net/mailman/listinfo/developers)
+ mailing list
+
+### Citation
+
+Please use the following for academic citations (and see: https://ieeexplore.ieee.org/abstract/document/8939628):
+
+```bibtex
+@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](https://github.com/delph-in/pydelphin/graphs/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)
+ - LKB: https://github.com/delph-in/docs/wiki/LkbTop (also: https://github.com/delph-in/docs/wiki/LkbFos)
+ - PET: https://github.com/delph-in/docs/wiki/PetTop
+ - ACE: http://sweaglesw.org/linguistics/ace/
+ - agree: https://github.com/delph-in/docs/wiki/AgreeTop
+* 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
+ - LOGON: https://github.com/delph-in/docs/wiki/LogonTop
+ - pydmrs: https://github.com/delph-in/pydmrs
+* Also see (may have overlap with the above):
+ - https://github.com/delph-in/docs/wiki/ToolsTop
+ - https://github.com/delph-in/docs/wiki/DelphinApplications
+
+### 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".
+
+
+%package help
+Summary: Development documents and examples for PyDelphin
+Provides: python3-PyDelphin-doc
+%description help
+# PyDelphin — Python libraries for DELPH-IN data
+
+[![PyPI Version](https://img.shields.io/pypi/v/pydelphin.svg)](https://pypi.org/project/PyDelphin/)
+![Python Support](https://img.shields.io/pypi/pyversions/pydelphin.svg)
+[![Test Status](https://github.com/delph-in/pydelphin/actions/workflows/checks.yml/badge.svg)](https://github.com/delph-in/pydelphin/actions/workflows/checks.yml)
+[![Documentation Status](https://readthedocs.org/projects/pydelphin/badge/?version=latest)](https://pydelphin.readthedocs.io/en/latest/?badge=latest)
+![Discourse topics](https://img.shields.io/discourse/topics?color=%234b2e83&server=https%3A%2F%2Fdelphinqa.ling.washington.edu)
+
+[DELPH-IN](http://delph-in.net) is an international consortium of
+researchers committed to producing precise, high-quality language
+processing tools and resources, primarily in the
+[HPSG](http://hpsg.stanford.edu/) syntactic and
+[MRS](https://github.com/delph-in/docs/wiki/RmrsTop) 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.
+
+[Goodman, 2018]: https://goodmami.org/static/goodman-dissertation.pdf
+[Muszyńska, 2016]: https://www.aclweb.org/anthology/P16-3014
+[Buys & Blunsom, 2017]: https://www.aclweb.org/anthology/P17-1112
+[Hajdik et al., 2019]: https://www.aclweb.org/anthology/N19-1235
+
+Documentation, including guides and an API reference, is available here:
+http://pydelphin.readthedocs.io/
+
+New to PyDelphin? Want to see examples? Try the
+[walkthrough](https://pydelphin.readthedocs.io/en/latest/guides/walkthrough.html).
+
+## Installation and Upgrading
+
+Get the latest release of PyDelphin from [PyPI]:
+
+```bash
+$ pip install pydelphin
+```
+
+[PyPI]: https://pypi.python.org/pypi/PyDelphin
+
+For more information about requirements, installing from source, and
+running unit tests, please see the
+[documentation](https://pydelphin.readthedocs.io/en/latest/guides/setup.html).
+
+API changes in new versions are documented in the
+[CHANGELOG](CHANGELOG.md), but for any unexpected changes please [file
+an issue][issues].
+
+[issues]: https://github.com/delph-in/pydelphin/issues/
+
+## Features
+
+PyDelphin contains the following modules:
+
+Semantic Representations:
+- [`delphin.mrs`]: [Minimal Recursion Semantics](https://github.com/delph-in/docs/wiki/MrsRfc)
+- [`delphin.eds`]: [Elementary Dependency Structures](https://github.com/delph-in/docs/wiki/EdsTop)
+- [`delphin.dmrs`]: [Dependency Minimal Recursion Semantics](https://github.com/delph-in/docs/wiki/RmrsDmrs)
+
+Semantic Components and Interfaces:
+- [`delphin.semi`]: [Semantic Interface](https://github.com/delph-in/docs/wiki/SemiRfc)
+- [`delphin.vpm`]: [Variable Property Mapping](https://github.com/delph-in/docs/wiki/RmrsVpm)
+- [`delphin.variable`]: MRS variables
+- [`delphin.predicate`]: [Semantic Predicates](https://github.com/delph-in/docs/wiki/PredicateRfc)
+- [`delphin.scope`]: Underspecified scope
+- [`delphin.sembase`]: Basic semantic structures
+- [`delphin.codecs`]: A wide variety of serialization codecs for MRS, EDS, and DMRS
+
+Grammar and Parse Inspection:
+- [`delphin.derivation`]: [Derivation trees](https://github.com/delph-in/docs/wiki/ItsdbDerivations)
+- [`delphin.tdl`]: [Type-Description Language](https://github.com/delph-in/docs/wiki/TdlRfc)
+- [`delphin.tfs`]: Feature structures and type hierarchies
+
+Tokenization:
+- [`delphin.repp`]: [Regular-Expression PreProcessor](https://github.com/delph-in/docs/wiki/ReppTop)
+- [`delphin.tokens`]: [YY Token lattices](https://github.com/delph-in/docs/wiki/PetInput#yy-input-mode)
+- [`delphin.lnk`]: Lnk surface alignments
+
+Corpus Management and Processing:
+- [`delphin.itsdb`]: [\[incr tsdb()\]](https://github.com/delph-in/docs/wiki/ItsdbTop) profiles
+- [`delphin.tsdb`]: Low-level interface to test suite databases
+- [`delphin.tsql`]: [TSQL](https://github.com/delph-in/docs/wiki/TsqlRfc) test suite queries
+
+Interfaces with External Processors:
+- [`delphin.interface`]: Structures for interacting with external processors
+- [`delphin.ace`]: Python wrapper for common tasks using [ACE](http://sweaglesw.org/linguistics/ace/)
+- [`delphin.web`]: Client for the [web API](https://github.com/delph-in/docs/wiki/ErgApi)
+
+Core Components and Command Line Interface:
+- [`delphin.commands`]: Functional interface to common tasks
+- [`delphin.cli`]: Command-line interface to functional commands
+- [`delphin.hierarchy`]: Multiple-inheritance hierarchies
+- [`delphin.exceptions`]: PyDelphin's basic exception classes
+
+
+[`delphin.cli`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.cli.html
+[`delphin.codecs`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.codecs.html
+[`delphin.commands`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.commands.html
+[`delphin.derivation`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.derivation.html
+[`delphin.dmrs`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.dmrs.html
+[`delphin.eds`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.eds.html
+[`delphin.exceptions`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.exceptions.html
+[`delphin.hierarchy`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.hierarchy.html
+[`delphin.interface`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.interface.html
+[`delphin.ace`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.ace.html
+[`delphin.web`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.web.html
+[`delphin.tsdb`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.tsdb.html
+[`delphin.itsdb`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.itsdb.html
+[`delphin.lnk`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.lnk.html
+[`delphin.mrs`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.mrs.html
+[`delphin.predicate`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.predicate.html
+[`delphin.repp`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.repp.html
+[`delphin.scope`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.scope.html
+[`delphin.sembase`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.sembase.html
+[`delphin.semi`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.semi.html
+[`delphin.tdl`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.tdl.html
+[`delphin.tfs`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.tfs.html
+[`delphin.tokens`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.tokens.html
+[`delphin.tsql`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.tsql.html
+[`delphin.variable`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.variable.html
+[`delphin.vpm`]: https://pydelphin.readthedocs.io/en/latest/api/delphin.vpm.html
+
+
+## Other Information
+
+### Getting Help
+
+Please use the [issue tracker][issues] for bug reports, feature
+requests, and documentation requests. For more general questions
+and support, try one of the following channels maintained by the
+DELPH-IN community:
+
+- [DELPH-IN Discourse](https://delphinqa.ling.washington.edu/) forums
+- [developers](http://lists.delph-in.net/mailman/listinfo/developers)
+ mailing list
+
+### Citation
+
+Please use the following for academic citations (and see: https://ieeexplore.ieee.org/abstract/document/8939628):
+
+```bibtex
+@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](https://github.com/delph-in/pydelphin/graphs/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)
+ - LKB: https://github.com/delph-in/docs/wiki/LkbTop (also: https://github.com/delph-in/docs/wiki/LkbFos)
+ - PET: https://github.com/delph-in/docs/wiki/PetTop
+ - ACE: http://sweaglesw.org/linguistics/ace/
+ - agree: https://github.com/delph-in/docs/wiki/AgreeTop
+* 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
+ - LOGON: https://github.com/delph-in/docs/wiki/LogonTop
+ - pydmrs: https://github.com/delph-in/pydmrs
+* Also see (may have overlap with the above):
+ - https://github.com/delph-in/docs/wiki/ToolsTop
+ - https://github.com/delph-in/docs/wiki/DelphinApplications
+
+### 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".
+
+
+%prep
+%autosetup -n PyDelphin-1.8.0
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-PyDelphin -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 1.8.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..b0af729
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+795fa70f4706a48774ea6580061c3726 PyDelphin-1.8.0.tar.gz