Routine for estimating syllable count in words