Difference between revisions of "Patent Thicket"

From edegan.com
Jump to navigation Jump to search
Line 37: Line 37:
  
 
This program converts all pdfs to txt files. It also generates two files _LOG_ERR.txt and _LOG_RUN.txt that includes the names of the pdfs that could not be converted and were converted successfully. Some of the files that were successfuly converted, especially the very small ones, don't have the text from the paper.
 
This program converts all pdfs to txt files. It also generates two files _LOG_ERR.txt and _LOG_RUN.txt that includes the names of the pdfs that could not be converted and were converted successfully. Some of the files that were successfuly converted, especially the very small ones, don't have the text from the paper.
 +
 +
There were 573 successful txt files and 36 files that failed to convert (which does not add up to 608 but I'm not sure why).

Revision as of 14:49, 25 July 2018


McNair Project
Patent Thicket
Project logo 02.png
Project Information
Project Title Patent Thicket
Owner Grace Tan
Start Date Summer 2018
Deadline
Primary Billing
Notes
Has project status Active
Is dependent on Google Scholar Crawler, PDF Downloader, PDF to Text Converter
Copyright © 2016 edegan.com. All Rights Reserved.


Location of Files

E://McNair/Software/Patent_Thicket

Downloaded PDFs:

E://McNair/Projects/Software/Patent_Thicket/AllPDFs/successful_downloads

Converted PDFs to txt files:

E://McNair/Projects/Software/Patent_Thicket/Parsed_Texts

Google Scholar Crawler

Used Google Scholar Crawler

I used the selenium box and switched from Rice Visitor, Rice Owls, and eduroam to prevent Google Scholar from blocking me.

I downloaded 613 pdf urls and 958 bibtex filees from 100 pages on Google Scholar when searching for "patent thicket."

Downloading PDFs

Used PDF Downloader

I tweaked the code to take into account repeat of file names. 5 of the pdf urls were not downloadable so I ended up with 608 working pdfs.

pdf_to_txt_bulk_PTLR.py

See PDF to Text Converter

The code must be run in E because of the libraries it uses is not in Z. I reinstalled pdfminer which might be a problem in the future if the libraries change.

This program converts all pdfs to txt files. It also generates two files _LOG_ERR.txt and _LOG_RUN.txt that includes the names of the pdfs that could not be converted and were converted successfully. Some of the files that were successfuly converted, especially the very small ones, don't have the text from the paper.

There were 573 successful txt files and 36 files that failed to convert (which does not add up to 608 but I'm not sure why).