A CFG parser using the CYK algorithm