Downloads

The "Alice in Wonderland" corpus

from the SemSpace paper "A CCG version of the DisCoCat framework". Link

biclosed monoidal discocat txt pdf
The diagrams in the corpus is stored in DisCoPy format. To load the corpus, unzip the file, then run
from discopy import utils
with open("discocat.zip") as f:
    diagrams = utils.loads(f.read())
            
or, just load directly from url:
from discopy import utils
url = "https://qnlp.cambridgequantum.com/corpora/alice/discocat.zip"
diagrams = utils.load_corpus(url)
                            
For more information, please contact richie.yeung@cambridgequantum.com.