'Iterate through all PDF pages and extract text
:return: A list containing the words in the PDF'

def _get_pdf_content(self, document_str):

    pdf_text = pdf_to_text(document_str)
    return pdf_text.split()
