Computes the digital root of words.