0.2.3
Added:
CCGRule
: Addsymbol
method that returns the ASCII symbol of a given CCG rule.CCGTree
: Extendderiv
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
toAtomicType.PREPOSITIONAL_PHRASE
.
Fixed:
- Fix a bug that raised a
dtype
error when using theTketModel
on Windows. - Fix a bug that caused the normalisation of scalar outputs of circuits without open wires using a
QuantumModel
.