Advanced AI Scripts
Here is a library of scripts I maintain on my GitHub site that are freely available to the public. These scripts are free for use but come with no warranty–use them at your own risk.

Discovery Log
This script will run through a set of folders and create a discovery log of all the PDF files it finds. It opens each PDF, looks for a Bates number, and then creates a CSV/Excel file containing a list of every file it encounters.
Available at: tjdaley/bates_logger
Document Classifier
This script will run through a set of folders and create a log of files with some classification information.
Available at: tjdaley/free_classifier


Document Property Extractor
A script that takes the output from the document classifier and extracts properties for the document, depending on the classification of the document. E.G., a “bank_statement” will have these properties extracted:
- institution_name
- account_number
- beginning_date
- ending_date
- account_owner_name
while a “tax_return” will have these:
- taxing_authority
- tax_year
- tax_payer_name
- tas_form_name
Available at: tjdaley/free_property_extractor: Extract properties from documents
Photo Fixer
This project reads image files of all sizes, resizes them for 8 1/2 x 11 paper, converts the image to a PDF, extracts metadata (if available) for the date of the photo, and adds a Bates number to each image.
Available at: https://github.com/tjdaley/photofixer


Post Comment
You must be logged in to post a comment.