CYK table for a special word and rules