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()

spiders_reader.sentence2diagram(sentence).draw()
