Skip to content

Latest commit

 

History

History
8 lines (7 loc) · 409 Bytes

README.md

File metadata and controls

8 lines (7 loc) · 409 Bytes

wordcounting

Scripts for extracting (wordcount, date) from a git repository.

wordcount.py assumes the current directory is a git repository tracking some PDF document (assumed to be called thesis.pdf or main.pdf in the current directory) and extracts the wordcount of that document for each commit. It generates a cache (wordcount.json) so that the document must only be compiled once for each revision.