NLP: PCFG parser using the CKY algorithm