A parser for probablistic context-free grammar (PCFG) with CKY algorithm