Author: Beom Jin Lee
This package allows parsing through a PDF document.
If PDF is not parseable, the PDF document is run through an OCR, using SVM to recognize text.
Prerequisites :
- PyPDF2
- pdfminer
- interruptingcow
- pytesseract
>>> import pdf_checker
>>> one_document("/home/brian_lee/Desktop/PDF/pagerank.PDF")
1
-
Inside the current directory, make a new directory where you can store your finished files. In Bash / Terminal,
cdto your current directory and type:mkdir <Name of Directory to Place Output Files>The reason is that these functions, unless specifically defined, will output a TXT file with the same name, making it difficult to work through the files.