Skip to content

0.2.3

Compare
Choose a tag to compare
@Thommy257 Thommy257 released this 08 Jun 16:18
· 56 commits to main since this release

Added:

  • CCGRule: Add symbol method that returns the ASCII symbol of a given CCG rule.
  • CCGTree: Extend deriv method with CCG output. It is now capable of returning standard CCG diagrams.
  • Command-line interface: CCG mode. When enabled, the output will be a string representation of the CCG diagram corresponding to the CCGTree object produced by the parser, instead of DisCoPy diagram or circuit.
  • Documentation: Add a troubleshooting page.

Change:

  • Change the behaviour of spiders_reader such that the spiders decompose logarithmically. This change also affects other rewrite rules that use spiders, such as coordination and relative pronouns.
  • Rename AtomicType.PREPOSITION to AtomicType.PREPOSITIONAL_PHRASE.

Fixed:

  • Fix a bug that raised a dtype error when using the TketModel on Windows.
  • Fix a bug that caused the normalisation of scalar outputs of circuits without open wires using a QuantumModel.