Skip to content

Releases: decompositional-semantics-initiative/decomp

Universal Decompositional Semantics (v2.0) and Decomp (v0.3.2)

15 Aug 14:45
Compare
Choose a tag to compare

Adds missing tabulate dependency

Version 0.3.1 successfully fixed the missing semantics module issue, but
introduced a new problem where the package would fail to import due to a
missing tabulate dependency. This version resolves that by adding tabulate
to the main dependencies, where it was originally only a dev dependency.

Changes:

  • Add tabulate>=0.9.0 to main dependencies in pyproject.toml
  • Users can now install and import decomp without additional manual dependency
    installation
  • Package now works out-of-the-box from PyPI

This completes the fix for the PyPI distribution issues. Users should now be
able to:

  • pip install decomp
  • from decomp import UDSCorpus # works without errors
  • import decomp; print(dir(decomp)) # shows all expected modules

Universal Decompositional Semantics (v2.0) and Decomp (v0.3.1)

15 Aug 14:26
Compare
Choose a tag to compare

Fixes missing semantics module in PyPI distribution

The PyPI package was missing the entire semantics subpackage due to incorrect
package discovery configuration in pyproject.toml. This made the package
completely unusable when installed from PyPI.

Changes:

  • Fixed package configuration to use setuptools automatic package discovery
  • Added __version__ attribute to the package for version introspection
  • Updated package data pattern to include all nested data files

This is a critical bug fix that restores core functionality for PyPI users.

Universal Decompositional Semantics (v2.0) and Decomp (v0.3.0)

31 Jul 03:10
Compare
Choose a tag to compare

This release brings major modernization to the Decomp toolkit with full integration of PredPatt predicate-argument extraction and comprehensive Python 3.12+ support.

What's Changed

Major Features

  • PredPatt Integration: Complete integration of the PredPatt predicate-argument extraction system into decomp.semantics.predpatt with full differential testing ensuring compatibility with the standalone implementation
  • Python 3.12+ Modernization: Updated entire codebase to use modern Python features including union type syntax, built-in generics, and pyproject.toml packaging
  • Enhanced CI/CD: Added GitHub Actions workflows for automated testing, linting (ruff), and type checking (mypy)
  • Improved Documentation: Modernized Sphinx documentation with Furo theme, enhanced API docs, and comprehensive tutorials

Technical Improvements

  • Migrated from setup.py to pyproject.toml for modern Python packaging
  • Added comprehensive test suite with 400+ tests including differential testing
  • Consolidated all tool configurations (ruff, mypy, pytest) into pyproject.toml
  • Updated Docker image to use Jupyter datascience notebook with Python 3.12
  • Fixed all type annotations to use modern Python 3.12+ syntax

Breaking Changes

  • Python 3.12+ Required: This version requires Python 3.12 or higher due to use of modern type annotations and language features
  • Import Changes: PredPatt functionality now available under decomp.semantics.predpatt instead of requiring separate installation

Full Changelog: v0.2.2...v0.3.0

Universal Decompositional Semantics (v2.0) and Decomp (v0.2.2)

08 Jun 20:27
c7558c3
Compare
Choose a tag to compare

This release only updates the version of the Decomp toolkit, not UDS2.0. It fixes a broken corpus load from JSON as well as an error in the raw UDS-EventStructure annotations.

Full Changelog: v0.2.1...v0.2.2

Universal Decompositional Semantics (v2.0) and Decomp (v0.2.1)

08 Jun 20:19
Compare
Choose a tag to compare

This release only updates the version of the Decomp toolkit, not UDS2.0. It fixes a compatibility issue with Python 3.9.

Full Changelog: v0.2.0...v0.2.1

Universal Decompositional Semantics (v2.0) and Decomp (v0.2.0)

08 Jun 20:16
6c6b8cf
Compare
Choose a tag to compare

The first release of UDS2.0 and Decomp0.2, which contains document-level graphs, whose nodes align with existing sentence-level graphs, as well as raw annotations and advanced metadata handling facilities for both the raw and normalized property annotations. A new visualization module has also been added as of Decomp0.2.0.

What's changed

  • Adds support for raw UDS datasets by @wgantt in #7
  • Adds document-level annotation support by @wgantt in #11
  • Add document directory for 2.0 by @wgantt in #16
  • Adds metadata handling facilities and refactors decomp.semantics.uds module and tests by @aaronstevenwhite in #21
  • Updates visualization module by @esteng in #23

Full Changelog: v0.1.3...v0.2.0

Universal Decompositional Semantics (v1.0) and Decomp (v0.1.3)

13 Mar 20:42
Compare
Choose a tag to compare

This version only updates the version of the Decomp toolkit, not UDS1.0. It fixes a minor error in how UDSGraphs' RDF caches are cleared. It also adds attributes to UDSGraph for the document (UDSGraph.document_id) and sentence (UDSGraph.sentence_id) IDs within UD-EWT.

Universal Decompositional Semantics (v1.0) and Decomp (v0.1.2)

17 Jan 18:31
Compare
Choose a tag to compare

This version only updates the version of the Decomp toolkit, not UDS1.0. It fixes a minor error in how the corpus is constructed: if a single split was built on the first initialization of UDSCorpus after installing the package (by setting the split parameter), no other splits could be built. This arose from faulty logic within UDSCorpus.__init__ and did not affect the actual data in any way.

Universal Decompositional Semantics (v1.0) and Decomp (v0.1.1)

19 Oct 03:58
Compare
Choose a tag to compare

This version only updates the version of the Decomp toolkit, not UDS1.0. It fixes a minor error in how arguments within copular clauses are linked to the syntax node they are instantiated by, bringing it in line with the UDS1.0 spec. These arguments are always headed by nouns—e.g. "star" in "be a star" and not adjectives—e.g. "nice" in "be nice"—and they always have trivial spans (only containing the head).

This only affects the genericity annotations of UDS1.0, since the other annotation sets do not annotate these arguments, which are not produced by PredPatt directly, but rather a postprocessing of copular arguments produced by PredPatt to extract nominal arguments from them (when they exist). The error caused a self-loop on the argument node itself due to faulty string replacement logic. (This is illegal under the UDS1.0 spec, since semantics nodes cannot instantiate semantics nodes.).

Universal Decompositional Semantics (v1.0) and Decomp (v0.1.0)

01 Oct 16:36
Compare
Choose a tag to compare

The first major release of the UDS dataset, which comes bundled with the Decomp toolkit.