Added normalization for word lengths