Work on the CKY algorithm