Maps each word in a string