Return information about words used in a string