Adapted CYK algorithm for Brill's tagger and OO version of CFG