Could a quick comment be added to describe what this function does?  How does it define a word - is it spaces only, or do hyphens count?