convert digit to word in text and dict