Demonstration code for the paper 'Bringing machine learning and compositional semantics together' (Percy Liang and Christopher Potts)