Added normalization code for phrases.