A Python implementation of the CKY algorithm for generating parse trees, given a CFG (in almost-CNF) and a sentence.