title: Find word in HTML page fast algorithm
body: <p>I need to do a boolean function which returns true if a word is in the text of a HTML page and false if it's  not.</p>
  
  <p>I know that it's easy to do analysing all the page tree until finding the word with the <code>lxml</code> library but I find inefficient to iterate through all the html blocks and find if the word is there.</p>
  
  <p>Any suggestions for a faster algorithm (I need to do this search so many times)?</p>