Subpackages¶
lambeq.ansatz¶
Concrete implementations of classical and quantum ansätze.
API: lambeq.ansatz
UML diagrams: lambeq.ansatz
Classes:
lambeq.backend¶
lambeq
’s internal representation of categories. This work is based on DisCoPy (https://discopy.org/) which is released under the BSD 3-Clause “New” or “Revised” License.
API: lambeq.backend
UML diagrams: lambeq.backend
Classes:
lambeq.bobcat¶
The code for Bobcat parser, a state-of-the-art CCG parser used for getting syntactic derivations of sentences.
API: lambeq.bobcat
UML diagrams: lambeq.bobcat
Classes:
lambeq.rewrite¶
Contains implementations of rewrite rules for the transformation of string diagrams.
API: lambeq.rewrite
UML diagrams: lambeq.rewrite
Classes
lambeq.text2diagram¶
Package containing the interfaces for the CCG parsers (including a CCGBankParser
), as well as abstractions and concrete classes for readers, implementing a variety of compositional models for sentences.
API: lambeq.text2diagram
UML diagrams: lambeq.text2diagram
Objects
Classes:
lambeq.tokeniser¶
Tokenisation classes and features for all parsers and readers.
API: lambeq.tokeniser
UML diagrams: lambeq.tokeniser
Classes
lambeq.training¶
Provides a selection of trainers, models, and optimizers that greatly simplify supervised training for most of lambeq
’s use cases, classical and quantum.
API: lambeq.training
UML diagrams: lambeq.training
Classes