The intensity of key words in relation to the total words in a page tells a search engine if there is spamming.
Experience has shown that if the particular key words in a search make up more than 10% of the total web page it’s marked down.
Some experts say 5%