Automatically generates tag words for HTML pages and other documents