code: def text(self, clean=True):
          
          if clean:
              return utils.normalise_whitespace(''.join(self).replace('\n', ' '))
          else:
              return ''.join(self)
docs: Returns the text of the PDF as a single string.
          Options:
  
            :clean:
              Removes misc cruft, like lots of whitespace.