Refactors the code which analyze the word in the content of the pages
and the sites