Categorial grammar parser using CYK algorithm