Reader

from lambeq import Reader, cups_reader, spiders_reader, stairs_reader
sentence = 'This is a sentence'
try:
    Reader()
except TypeError as e:
    print(e)
Can't instantiate abstract class Reader with abstract method sentence2diagram
cups_reader.sentence2diagram(sentence).draw()
../_images/2b8a41569bfd6b788f8d78e416c4f7510db1ef320bcf5684c0c9ac5d70bf0ad8.png
spiders_reader.sentence2diagram(sentence).draw()
../_images/d0035914077e079e4a966201f0c18d0613b44690b80d0815351021e4a09bef84.png